Files
pkgsrc-ng/net/ntp4/patches/patch-configure
2016-01-21 23:40:00 +01:00

16 lines
614 B
Plaintext

$NetBSD: patch-configure,v 1.2 2014/12/20 09:45:46 taca Exp $
--- configure.orig 2014-12-19 12:42:27.000000000 +0000
+++ configure
@@ -26556,8 +26556,8 @@ done
# thread cancellation fails to load libgcc_s with dlopen().
# We have to pass this all as linker options to avoid argument
# reordering by libtool.
- case "$GCC$with_gnu_ld" in
- yesyes)
+ case "$GCC,$with_gnu_ld,$host_os" in
+ yes,yes,linux)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lgcc_s" >&5
$as_echo_n "checking for exit in -lgcc_s... " >&6; }
if ${ac_cv_lib_gcc_s_exit+:} false; then :