1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/python-modules/cgkit/scons-env.patch
2016-04-06 15:31:04 +01:00

23 lines
709 B
Diff

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)