mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
23 lines
709 B
Diff
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)
|