diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index dc1ee6bfe6b..79d99eeefb0 100644 --- a/SConstruct +++ b/SConstruct @@ -1655,7 +1655,10 @@ if installDir[-1] != "/": def build_and_test_client(env, target, source): from subprocess import call - call("scons", cwd=installDir) + if GetOption("extrapath") is not None: + call("scons --extrapath=%s" % GetOption("extrapath"), cwd=installDir) + else: + call("scons", cwd=installDir) return bool(call(["python", "buildscripts/smoke.py", "--test-path", installDir, "smokeClient"])) env.Alias("clientBuild", [mongod, installDir], [build_and_test_client]) |