mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 05:14:01 +02:00
--copy_env copies LIBPATH (test to fix windows crosscompile)
This commit is contained in:
@@ -140,7 +140,7 @@ else:
|
|||||||
env = Environment(tools = ['default'], ENV = os.environ)
|
env = Environment(tools = ['default'], ENV = os.environ)
|
||||||
|
|
||||||
if(GetOption("copy_env")):
|
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."
|
print "WARNING: enviroment copying enabled. changes in the enviroment can easily break the build process."
|
||||||
for var in lstvar:
|
for var in lstvar:
|
||||||
if var in os.environ:
|
if var in os.environ:
|
||||||
|
Reference in New Issue
Block a user