summaryrefslogtreecommitdiff
path: root/distsrc
diff options
context:
space:
mode:
authorMike Dirolf <mike@10gen.com>2010-07-28 14:02:26 -0400
committerMike Dirolf <mike@10gen.com>2010-07-28 14:02:26 -0400
commitafd32fcceff38811b918e47dd1aaba3aaf0184c2 (patch)
tree56139f125662e0302df19b1f7b3b7eca407e4ef7 /distsrc
parent6656bcd61dfdc1daaafb070fa58e81777c15f5ae (diff)
downloadmongo-afd32fcceff38811b918e47dd1aaba3aaf0184c2.tar.gz
to test, just build .a and tests files, not .so
Diffstat (limited to 'distsrc')
-rw-r--r--distsrc/client/SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct
index 63782064dfd..8a8bae9d012 100644
--- a/distsrc/client/SConstruct
+++ b/distsrc/client/SConstruct
@@ -54,12 +54,12 @@ allClientFiles += Glob( "mongo/scripting/*.cpp" )
allClientFiles += Glob( "mongo/util/*.cpp" )
allClientFiles += Glob( "mongo/util/*.c" )
-env.Library( "mongoclient" , allClientFiles )
env.SharedLibrary( "mongoclient" , allClientFiles )
+env.Library( "mongoclient" , allClientFiles )
clientTests = []
clientEnv = env.Clone();
-clientEnv.Prepend( LIBS=["mongoclient"])
+clientEnv.Prepend( LIBS=["libmongoclient.a"])
clientEnv.Prepend( LIBPATH=["."] )
# examples
@@ -69,3 +69,4 @@ clientTests += [ clientEnv.Program( "whereExample" , [ "client/examples/whereExa
clientTests += [ clientEnv.Program( "authTest" , [ "client/examples/authTest.cpp" ] ) ]
clientTests += [ clientEnv.Program( "httpClientTest" , [ "client/examples/httpClientTest.cpp" ] ) ]
clientTests += [ clientEnv.Program( "clientTest" , [ "client/examples/clientTest.cpp" ] ) ]
+clientEnv.Alias("clientTests", clientTests, [])