mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
17 lines
650 B
Diff
17 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:
|