diff options
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r-- | src/mongo/SConscript | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index f465436ac01..d7f86aa027a 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -14,13 +14,8 @@ Import("get_option") Import("usemozjs") Import("use_system_version_of_library") -# Boost we need everywhere. 's2' is spammed in all over the place by -# db/geo unfortunately. pcre is also used many places. -env.InjectThirdPartyIncludePaths(libraries=[ - 'boost', - 'pcre', - 's2', -]) +env = env.Clone() + env.InjectMongoIncludePaths() env.SConscript( @@ -44,6 +39,9 @@ env.SConscript( 'unittest', 'util', ], + exports=[ + 'env', + ], ) # NOTE: This library does not really belong here. Its presence here is |