Merge pull request #1157 from glennpj/envclean
Remove more variables from build environment
This commit is contained in:
commit
0de4ba738b
@ -266,6 +266,8 @@ def set_build_environment_variables(pkg, env):
|
|||||||
# can affect how some packages find libraries. We want to make
|
# can affect how some packages find libraries. We want to make
|
||||||
# sure that builds never pull in unintended external dependencies.
|
# sure that builds never pull in unintended external dependencies.
|
||||||
env.unset('LD_LIBRARY_PATH')
|
env.unset('LD_LIBRARY_PATH')
|
||||||
|
env.unset('LIBRARY_PATH')
|
||||||
|
env.unset('CPATH')
|
||||||
env.unset('LD_RUN_PATH')
|
env.unset('LD_RUN_PATH')
|
||||||
env.unset('DYLD_LIBRARY_PATH')
|
env.unset('DYLD_LIBRARY_PATH')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user