diff options
Diffstat (limited to 'databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py')
-rw-r--r-- | databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py b/databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py index 7af1145c6754..d0ab789743f0 100644 --- a/databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py +++ b/databases/tdb/files/patch-buildtools_wafsamba_samba__autoconf.py @@ -1,4 +1,4 @@ ---- buildtools/wafsamba/samba_autoconf.py.orig 2019-02-26 06:44:21 UTC +--- buildtools/wafsamba/samba_autoconf.py.orig 2019-08-20 15:35:08 UTC +++ buildtools/wafsamba/samba_autoconf.py @@ -573,7 +573,7 @@ def library_flags(self, libs): @@ -26,11 +26,10 @@ if not res: if mandatory: -@@ -925,6 +928,5 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(c +@@ -949,5 +952,5 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(c conf.env.undefined_ldflags = conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True) - if not sys.platform.startswith("openbsd") and conf.env.undefined_ignore_ldflags == []: -- if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup']): -+ if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS): + if (conf.env.undefined_ignore_ldflags == [] and +- conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'])): ++ conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS)): conf.env.undefined_ignore_ldflags = ['-undefined', 'dynamic_lookup'] -- |