summary refs log tree commit diff
path: root/pkgs/games/the-powder-toy/fix-env.patch
blob: 79d2bb2a2e073e9c8577fe7f993e5802118e037a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: