diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-12-10 17:26:32 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-12-12 14:29:38 -0500 |
commit | f371d09cd36ca79b19f5439eca12094e9ccd4a14 (patch) | |
tree | 293db343da425cd4f2f31c5e8b978edb195938c7 /SConstruct | |
parent | b9c59fd5c79c0b0d9c845e3c05e50ab1dd9f7f4a (diff) | |
download | mongo-f371d09cd36ca79b19f5439eca12094e9ccd4a14.tar.gz |
SERVER-27377 Executables need --no-as-needed too
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 5d0f7aeb0bf..f6be4f2d20a 100644 --- a/SConstruct +++ b/SConstruct @@ -1283,7 +1283,7 @@ if link_model.startswith("dynamic"): return [] env['LIBDEPS_TAG_EXPANSIONS'].append(libdeps_tags_expand_incomplete) else: - env.AppendUnique(SHLINKFLAGS=["-Wl,--no-as-needed"]) + env.AppendUnique(LINKFLAGS=["-Wl,--no-as-needed"]) # Using zdefs doesn't work at all with the sanitizers if not has_option('sanitize'): |