Added openssl recipe.
This commit is contained in:
@@ -127,7 +127,8 @@ def _deps_from_json(env: Environment, deps: dict) -> dict:
|
||||
if 'condition' in dep:
|
||||
if not _safe_eval(dep['condition'], {
|
||||
'compiler_family': env['COMPILER_FAMILY'],
|
||||
'target_os': os.name
|
||||
'target_os': os.name,
|
||||
'getenv': lambda name: env.get(name)
|
||||
}):
|
||||
to_remove.append(key)
|
||||
continue
|
||||
@@ -341,7 +342,8 @@ def _build_target(target: _Target):
|
||||
for lib in libs_copy:
|
||||
if isinstance(lib, str) and os.path.isabs(lib):
|
||||
target.kwargs['LIBS'].remove(lib)
|
||||
target.kwargs['source'].append(env.Entry(lib))
|
||||
target.kwargs['LIBS'].append(env.File(lib))
|
||||
pass
|
||||
elif isinstance(lib, _Target):
|
||||
if not lib.target:
|
||||
_build_target(lib)
|
||||
|
||||
Reference in New Issue
Block a user