summaryrefslogtreecommitdiff
path: root/distsrc/client/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'distsrc/client/SConstruct')
-rwxr-xr-xdistsrc/client/SConstruct8
1 files changed, 2 insertions, 6 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct
index 4979c9244e6..503b71ccbc7 100755
--- a/distsrc/client/SConstruct
+++ b/distsrc/client/SConstruct
@@ -68,10 +68,7 @@ for x in dirs:
allClientFiles += Glob( "mongo/" + x + "*.cpp" )
allClientFiles += Glob( "mongo/util/*.c" )
-libs = []
-libs += env.SharedLibrary( "mongoclient" , allClientFiles )
-sharedClientLibName = str(libs[-1])
-libs += env.Library( "mongoclient" , allClientFiles )
+libs = env.Library( "mongoclient" , allClientFiles )
# install
@@ -86,12 +83,11 @@ for x in dirs:
env.Alias( "install" , prefix )
-
# example setup
clientTests = []
clientEnv = env.Clone();
-clientEnv.Prepend( LIBS=["libmongoclient.a", sharedClientLibName])
+clientEnv.Prepend( LIBS=["mongoclient"] )
clientEnv.Prepend( LIBPATH=["."] )
# examples