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:
parent
f912b8f600
commit
fc0c01be97
3
wscript
3
wscript
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user