Commit 31b8adf1 authored by Ming Rui Zhang's avatar Ming Rui Zhang

project: fix the bug of identifying env_set logic

Change-Id: Idb13d1e98d9ddf3ae4f68aec27c08e4e25dc1d36
parent f1bd5c99
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment