diff options
Diffstat (limited to 'security/gnutls/patches/patch-configure')
-rw-r--r-- | security/gnutls/patches/patch-configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/gnutls/patches/patch-configure b/security/gnutls/patches/patch-configure new file mode 100644 index 00000000000..f5afc871112 --- /dev/null +++ b/security/gnutls/patches/patch-configure @@ -0,0 +1,14 @@ +$NetBSD: patch-configure,v 1.5.2.2 2020/06/09 11:55:34 bsiegert Exp $ + +Fix linking on Darwin. + +--- configure.orig 2020-03-19 15:24:05.000000000 +0000 ++++ configure +@@ -9698,7 +9698,6 @@ $as_echo "#define _UNICODE 1" >>confdefs + *darwin*) + have_macosx=yes + save_LDFLAGS="$LDFLAGS" +- LDFLAGS="$LDFLAGS -Wl,-no_weak_imports" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports -Wl,-no_weak_imports" >&5 + $as_echo_n "checking whether the linker supports -Wl,-no_weak_imports... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |