diff options
Diffstat (limited to 'distsrc/client/SConstruct')
-rwxr-xr-x | distsrc/client/SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct index 54fc9437d3c..4979c9244e6 100755 --- a/distsrc/client/SConstruct +++ b/distsrc/client/SConstruct @@ -70,6 +70,7 @@ allClientFiles += Glob( "mongo/util/*.c" ) libs = [] libs += env.SharedLibrary( "mongoclient" , allClientFiles ) +sharedClientLibName = str(libs[-1]) libs += env.Library( "mongoclient" , allClientFiles ) # install @@ -90,7 +91,7 @@ env.Alias( "install" , prefix ) clientTests = [] clientEnv = env.Clone(); -clientEnv.Prepend( LIBS=["libmongoclient.a"]) +clientEnv.Prepend( LIBS=["libmongoclient.a", sharedClientLibName]) clientEnv.Prepend( LIBPATH=["."] ) # examples |