Skip to content
Snippets Groups Projects
Commit 31b8adf1 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

project: fix the bug of identifying env_set logic

Change-Id: Idb13d1e98d9ddf3ae4f68aec27c08e4e25dc1d36
parent f1bd5c99
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ def make(pkg_info, force, sdk_version, toolset):
if (should_fetch or force) and fetch_pkg(pkg_name, version, pkg_info['url'], force):
apply(pkg_name, pkg_info.get('patches', []),
pkg_info.get('win_patches', []))
env_set = 'false' if pkg_info.get('with_env', '') != '' else 'true'
env_set = 'false' if pkg_info.get('with_env', '') == '' else 'true'
sdk_to_use = sdk_version if env_set == 'false' else pkg_info.get('with_env', '')
if build(pkg_name,
contrib_build_dir + '\\' + pkg_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment