1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00

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

This reverts commit 4d1ed9c319.
This commit is contained in:
Karolin Seeger 2021-03-09 09:18:16 +01:00
parent f912b8f600
commit fc0c01be97

View File

@ -340,8 +340,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)