samba/samba-4.1.14-no-as-needed.patch

14 lines
558 B
Diff
Raw Permalink Normal View History

diff -Nru samba-4.1.14.orig/wscript samba-4.1.14/wscript
--- samba-4.1.14.orig/wscript 2014-12-01 13:48:32.000000000 +0100
+++ samba-4.1.14/wscript 2014-12-19 16:39:08.460000000 +0100
@@ -155,9 +155,6 @@
# allows us to find problems on our development hosts faster.
# It also results in faster load time.
- if not sys.platform.startswith("openbsd"):
- conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True)
-
if not conf.CHECK_NEED_LC("-lc not needed"):
conf.ADD_LDFLAGS('-lc', testflags=False)