From f371d09cd36ca79b19f5439eca12094e9ccd4a14 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Sat, 10 Dec 2016 17:26:32 -0500 Subject: SERVER-27377 Executables need --no-as-needed too --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') 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'): -- cgit v1.2.1