nixpkgs-suyu/pkgs/games/the-powder-toy/fix-env.patch
2015-04-08 01:45:41 +03:00

16 lines
650 B
Diff

diff --git a/SConscript b/SConscript
index fd08935..4d879b2 100644
--- a/SConscript
+++ b/SConscript
@@ -93,9 +93,9 @@ if msvc and platform != "Windows":
#Create SCons Environment
if platform == "Windows" and not GetOption('msvc'):
- env = Environment(tools = ['mingw'], ENV = {'PATH' : os.environ['PATH']})
+ env = Environment(tools = ['mingw'], ENV = os.environ)
else:
- env = Environment(tools = ['default'], ENV = {'PATH' : os.environ['PATH']})
+ env = Environment(tools = ['default'], ENV = os.environ)
#attempt to automatically find cross compiler
if not tool and compilePlatform == "Linux" and compilePlatform != platform: