30 lines
896 B
Plaintext
30 lines
896 B
Plaintext
$OpenBSD: patch-configure,v 1.3 2010/10/22 19:31:43 ajacoutot Exp $
|
|
--- configure.orig Fri Oct 22 21:03:06 2010
|
|
+++ configure Fri Oct 22 21:03:16 2010
|
|
@@ -15080,13 +15080,13 @@ _ACEOF
|
|
|
|
fi
|
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
|
|
-$as_echo_n "checking for sem_init in -lpthread... " >&6; }
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -pthread" >&5
|
|
+$as_echo_n "checking for sem_init in -pthread... " >&6; }
|
|
if test "${ac_cv_lib_pthread_sem_init+set}" = set; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="-pthread $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -15121,7 +15121,7 @@ if test "x$ac_cv_lib_pthread_sem_init" = x""yes; then
|
|
#define HAVE_LIBPTHREAD 1
|
|
_ACEOF
|
|
|
|
- LIBS="-lpthread $LIBS"
|
|
+ LIBS="-pthread $LIBS"
|
|
|
|
fi
|
|
|