mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-25 17:20:47 +02:00
copy STRIP env var into scons env var
TODO: an option to just copy everything, which is apparently needed on some platforms
This commit is contained in:
@@ -134,7 +134,7 @@ if tool:
|
|||||||
env['ENV']['PATH'] = "{0}:{1}".format(sdlconfigpath, env['ENV']['PATH'])
|
env['ENV']['PATH'] = "{0}:{1}".format(sdlconfigpath, env['ENV']['PATH'])
|
||||||
|
|
||||||
#copy environment variables because scons doesn't do this by default
|
#copy environment variables because scons doesn't do this by default
|
||||||
for var in ["CC","CXX","LD","LIBPATH"]:
|
for var in ["CC","CXX","LD","LIBPATH","STRIP"]:
|
||||||
if var in os.environ:
|
if var in os.environ:
|
||||||
env[var] = os.environ[var]
|
env[var] = os.environ[var]
|
||||||
print "copying environment variable {0}={1!r}".format(var,os.environ[var])
|
print "copying environment variable {0}={1!r}".format(var,os.environ[var])
|
||||||
|
Reference in New Issue
Block a user