--copy_env copies LIBPATH (test to fix windows crosscompile)

This commit is contained in:
jacob1 2013-10-25 15:18:40 -04:00
parent 2ffe175c1b
commit 479528eaef

View File

@ -140,7 +140,7 @@ else:
env = Environment(tools = ['default'], ENV = os.environ)
if(GetOption("copy_env")):
lstvar=["CC","CXX","LD","CFLAGS"]
lstvar=["CC","CXX","LD","CFLAGS","LIBPATH"]
print "WARNING: enviroment copying enabled. changes in the enviroment can easily break the build process."
for var in lstvar:
if var in os.environ: