diff options
author | Eric Milkie <milkie@10gen.com> | 2012-05-02 15:41:50 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-05-02 15:42:26 -0400 |
commit | 1f29035b3bdf83c8c88b53749885cd3fff4e79e8 (patch) | |
tree | 673d7467d77d3604e5dc8b843cae1c73aa1b3ec1 /distsrc | |
parent | 8e5ae62d12cc50fcc7d85dae7804acae932433e1 (diff) | |
download | mongo-1f29035b3bdf83c8c88b53749885cd3fff4e79e8.tar.gz |
some distros need explicit pthread library on linker command line
Diffstat (limited to 'distsrc')
-rwxr-xr-x | distsrc/client/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct index d7a0832946d..75726ce560e 100755 --- a/distsrc/client/SConstruct +++ b/distsrc/client/SConstruct @@ -64,7 +64,7 @@ else: if nix: env.Append(CCFLAGS=["-O3", "-pthread"]) if linux: - env.Append(LINKFLAGS=["-Wl,--as-needed", "-Wl,-zdefs"]) + env.Append(LINKFLAGS=["-Wl,--as-needed", "-Wl,-zdefs", "-pthread"]) boostLibs = ["thread", "filesystem", "system"] conf = Configure(env) |