fix Sconscript

This commit is contained in:
jacob1 2013-10-20 09:54:09 -04:00
parent eea006ad6f
commit b4761e47dd
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -38,6 +38,7 @@ Makefile.me
*.tlog
*.lib
*.ipch
*.ilk
*.log
*.lastbuildstate
*.unsuccessfulbuild

View File

@ -135,9 +135,9 @@ if((not GetOption('lin')) and (not GetOption('win')) and (not GetOption('rpi'))
# if the platform is windows switch to a mingw toolset, use the default otherwise
if(GetOption('win')):
env = Environment(tools = ['mingw'])
env = Environment(tools = ['mingw'], ENV = os.environ)
else:
env = Environment(tools = ['default'])
env = Environment(tools = ['default'], ENV = os.environ)
if(GetOption("copy_env")):
lstvar=["CC","CXX","LD","CFLAGS"]