summaryrefslogtreecommitdiff
path: root/security/gnutls/patches/patch-configure
blob: de6c2622d0fbb67df62377204e33146133445dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-configure,v 1.5 2020/04/01 08:24:07 adam 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