pkgsrc/lang/gforth/patches/patch-configure
2015-12-29 23:34:43 +00:00

20 lines
823 B
Text

$NetBSD: patch-configure,v 1.3 2015/12/29 23:34:47 dholland Exp $
-export-dynamic is a linker option, pass it down as such.
--- configure.orig 2014-06-13 22:52:28.000000000 +0000
+++ configure
@@ -4721,10 +4721,10 @@ test "$make_type" = "GNU Make" && GNUMAK
$as_echo "$make_type" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -export-dynamic" >&5
-$as_echo_n "checking whether the linker accepts -export-dynamic... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-export-dynamic" >&5
+$as_echo_n "checking whether the linker accepts -Wl,-export-dynamic... " >&6; }
OLDLDFLAGS=$LDFLAGS
-LDFLAGS="$LDFLAGS -export-dynamic"
+LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
if test "$cross_compiling" = yes; then :
ac_export_dynamic=no
else