summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2014-04-23 12:08:55 -0400
committerAndrew Morrow <acm@mongodb.com>2014-07-12 16:50:51 -0400
commitef4f60e3951929a7b16cf8920216310ecc58cc49 (patch)
tree8e7c6419f6399fcf65a27e3536ce8b43f7702d05 /src/SConscript
parentf6a6dec8f14ef75980d1512bb6d5e30fab6b73db (diff)
downloadmongo-ef4f60e3951929a7b16cf8920216310ecc58cc49.tar.gz
SERVER-14343 leaner include paths
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/SConscript b/src/SConscript
index 4245c9a1c5e..2dc6110008d 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -3,8 +3,13 @@
# This is the principle SConscript file, invoked by the SConstruct. Its job is
# to delegate to any and all per-module SConscript files.
-Import('module_sconscripts')
+Import('env module_sconscripts')
-SConscript(['mongo/SConscript',
- 'third_party/SConscript'] +
- module_sconscripts)
+env.SConscript(
+ [
+ # NOTE: We must do third_party first as it adds methods to the environment
+ # that we need in the mongo sconscript
+ 'third_party/SConscript',
+ 'mongo/SConscript',
+ ] + module_sconscripts
+)