1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

Revert "wscript: use --as-needed only if tested successfully"

This reverts commit c63f00801cae16a855aa5283fa0cc449e84577ce.
This commit is contained in:
Karolin Seeger 2021-03-11 10:47:14 +01:00
parent 5dd17586cd
commit 8e1fe1eba3

View File

@ -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)