inherit PKG_CONFIG_PATH from environment

This commit is contained in:
Maxwell Huang-Hobbs 2016-03-30 09:31:11 -04:00
parent 6b64b26f0e
commit 32391ffd73
1 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,12 @@ elif (os.name=="nt"):
if (os.getenv("VSINSTALLDIR")==None or platform_arg=="android"):
custom_tools=['mingw']
env_base=Environment(tools=custom_tools,ENV = {'PATH' : os.environ['PATH']});
env_base=Environment(
tools=custom_tools,
ENV={
'PATH' : os.getenv('PATH'),
'PKG_CONFIG_PATH' : os.getenv('PKG_CONFIG_PATH')
});
#env_base=Environment(tools=custom_tools);
env_base.global_defaults=global_defaults