From: Karolin Seeger Date: Thu, 11 Mar 2021 09:47:14 +0000 (+0100) Subject: Revert "wscript: use --as-needed only if tested successfully" X-Git-Tag: samba-4.12.12~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e1fe1eba3a2d0c42174f4f01e8299d17daabc10;p=thirdparty%2Fsamba.git Revert "wscript: use --as-needed only if tested successfully" This reverts commit c63f00801cae16a855aa5283fa0cc449e84577ce. --- diff --git a/wscript b/wscript index 2020c6793f0..a195ac33c98 100644 --- a/wscript +++ b/wscript @@ -321,8 +321,7 @@ def configure(conf): # allows us to find problems on our development hosts faster. # It also results in faster load time. - conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True) - + conf.add_as_needed() if not conf.CHECK_NEED_LC("-lc not needed"): conf.ADD_LDFLAGS('-lc', testflags=False)