summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 1792804ab17..d564045232c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -861,7 +861,7 @@ def doConfigure(myenv):
# discover modules (subdirectories of db/modules/), and
# load the (python) module for each module's build.py
- modules = moduleconfig.discover_modules('.')
+ modules = moduleconfig.discover_modules('src/mongo/')
# ask each module to configure itself, and return a
# dictionary of name => list_of_sources for each module.
@@ -939,6 +939,9 @@ def getSystemInstallName():
if nix and os.uname()[2].startswith( "8." ):
n += "-tiger"
+ if len(env.get("MONGO_MODULES", None)):
+ n += "-" + "-".join(env["MONGO_MODULES"].keys())
+
try:
findSettingsSetup()
import settings