diff --git a/SConstruct b/SConstruct index 443dc5d10f0..27d542ef1d9 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.