summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-05-01 12:28:07 -0400
committerAndrew Morrow <acm@mongodb.com>2015-05-06 15:47:23 -0400
commit2fb920f7b165e376f785dea756db9d0e78ca2327 (patch)
treee80261522ea4165e84215801f3fa785197fdeed6 /src/mongo/shell
parent88e74fc8c8d5c33d47d838ab3cc2d02dd06c9b57 (diff)
downloadmongo-2fb920f7b165e376f785dea756db9d0e78ca2327.tar.gz
SERVER-9666 Build mongo.cpp JS file into a library
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript
index ce9c94ade80..0df703369f4 100644
--- a/src/mongo/shell/SConscript
+++ b/src/mongo/shell/SConscript
@@ -34,3 +34,12 @@ env.JSHeader(
"replsetbridge.js"
],
)
+
+env.Library(
+ target='mongojs',
+ source=[
+ 'mongo.cpp',
+ ],
+ LIBDEPS=[
+ ],
+)