mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
23 lines
560 B
Plaintext
23 lines
560 B
Plaintext
$NetBSD: patch-aa,v 1.9 2015/02/15 14:04:59 ryoon Exp $
|
|
|
|
--- configure.orig 2014-05-14 04:33:43.000000000 +0000
|
|
+++ configure
|
|
@@ -17640,7 +17640,7 @@ if ${ac_cv_lib_pthread_pthread_exit+:} f
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -17675,7 +17675,7 @@ if test "x$ac_cv_lib_pthread_pthread_exi
|
|
#define HAVE_LIBPTHREAD 1
|
|
_ACEOF
|
|
|
|
- LIBS="-lpthread $LIBS"
|
|
+ LIBS="${PTHREAD_LDFLAGS} $LIBS"
|
|
|
|
fi
|
|
|