summaryrefslogtreecommitdiff
path: root/distsrc
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-05-02 15:41:50 -0400
committerEric Milkie <milkie@10gen.com>2012-05-02 15:42:26 -0400
commit1f29035b3bdf83c8c88b53749885cd3fff4e79e8 (patch)
tree673d7467d77d3604e5dc8b843cae1c73aa1b3ec1 /distsrc
parent8e5ae62d12cc50fcc7d85dae7804acae932433e1 (diff)
downloadmongo-1f29035b3bdf83c8c88b53749885cd3fff4e79e8.tar.gz
some distros need explicit pthread library on linker command line
Diffstat (limited to 'distsrc')
-rwxr-xr-xdistsrc/client/SConstruct2
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)