about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cgkit/scons-env.patch
blob: 65e9d58a0ae4955e1321c24967ca93eba9692da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/supportlib/SConstruct b/supportlib/SConstruct
index 7f797b9..07907e9 100644
--- a/supportlib/SConstruct
+++ b/supportlib/SConstruct
@@ -5,7 +5,7 @@
 # library.
 ######################################################################
 
-import sys, glob, os.path
+import sys, glob, os.path, os
 
 # Read the options
 vars = Variables("cpp_config.cfg")
@@ -16,7 +16,7 @@ vars.Add("CPPPATH", "The include directories", [])
 vars.Add("MSVS_VERSION", "The preferred version of MS Visual Studio")
 
 # Create the construction environment
-env = Environment(variables = vars)
+env = Environment(variables = vars, ENV = os.environ)
 
 # Build the files in "obj"
 env.VariantDir("obj", "src", duplicate=0)