diff options
author | Richard Kreuter <richard@10gen.com> | 2011-10-06 10:34:37 -0400 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2011-10-06 10:35:11 -0400 |
commit | aa1e1ed57664ba12d66840f550c5258e520763e7 (patch) | |
tree | f89f53c2b98320182838dc1c9850c133efdea787 /distsrc | |
parent | 9b37bd734a82f39b1fb2e7ff3d3c008ae6b158ea (diff) | |
download | mongo-aa1e1ed57664ba12d66840f550c5258e520763e7.tar.gz |
Always build a shared C++ library in the standalone driver's SConstruct.
Diffstat (limited to 'distsrc')
-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 |