summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/SConscript
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-21 18:48:56 -0500
committerAndrew Morrow <acm@mongodb.com>2017-01-03 09:45:52 -0500
commit1346352ff66b163fb010a270d1826c18699f3b36 (patch)
tree1fbe90cabe0bbdc3c6601008effbcac09ca05c65 /src/mongo/db/geo/SConscript
parent4a5adbb971bdf95adce07ec01120c24b44268946 (diff)
downloadmongo-1346352ff66b163fb010a270d1826c18699f3b36.tar.gz
SERVER-27497 Scope SCons Environment changes narrowly
Diffstat (limited to 'src/mongo/db/geo/SConscript')
-rw-r--r--src/mongo/db/geo/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/geo/SConscript b/src/mongo/db/geo/SConscript
index ca2d94c7349..83a185ec13c 100644
--- a/src/mongo/db/geo/SConscript
+++ b/src/mongo/db/geo/SConscript
@@ -2,6 +2,8 @@
Import("env")
+env = env.Clone()
+
# Core geometry shape libraries
env.Library("geometry", [ "hash.cpp",
"shapes.cpp",
@@ -34,4 +36,4 @@ env.CppUnitTest("r2_region_coverer_test", [ "r2_region_coverer_test.cpp" ],
env.CppUnitTest("big_polygon_test", [ "big_polygon_test.cpp" ],
LIBDEPS = [ "geometry",
- "$BUILD_DIR/mongo/db/common" ]) # db/common needed for field parsing \ No newline at end of file
+ "$BUILD_DIR/mongo/db/common" ]) # db/common needed for field parsing