Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always build a shared C++ library in the standalone driver's SConstruct.

  • Loading branch information...
commit aa1e1ed57664ba12d66840f550c5258e520763e7 1 parent 9b37bd7
@kreuter kreuter authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  distsrc/client/SConstruct
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.