summaryrefslogtreecommitdiff
path: root/distsrc
diff options
context:
space:
mode:
authorAndrew Morrow <acm@10gen.com>2013-06-06 10:55:38 -0400
committerAndrew Morrow <acm@10gen.com>2013-06-06 13:39:50 -0400
commitce97dc76c6a3f399f2f67613a55a7c238384ede9 (patch)
tree6538bfa02ba2945756784f31d0e2dc88df351b90 /distsrc
parent732d51ad8de1940c467de2b64e8acafb02d228a0 (diff)
downloadmongo-ce97dc76c6a3f399f2f67613a55a7c238384ede9.tar.gz
SERVER-6514 Only apply -zdefs and --as-needed to shared client library
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 ed95f0a639a..17fa954fc9d 100755
--- a/distsrc/client/SConstruct
+++ b/distsrc/client/SConstruct
@@ -80,7 +80,7 @@ else:
if nix:
env.Append(CCFLAGS=["-O3", "-pthread"])
if linux:
- env.Append(LINKFLAGS=["-Wl,--as-needed", "-Wl,-zdefs", "-pthread"])
+ env.Append(LINKFLAGS=["-pthread"])
boostLibs = ["thread", "filesystem", "system"]
conf = Configure(env)