Use platform pthread flags instead of hard coded -lpthread.

This commit is contained in:
joerg 2005-10-03 19:46:56 +00:00
parent d1cb54c9d6
commit 957ca17ce6
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.8 2005/08/11 15:24:54 adam Exp $
$NetBSD: distinfo,v 1.9 2005/10/03 19:46:56 joerg Exp $
SHA1 (glitz-0.4.4.tar.gz) = 53d5df02aaf7c156ad62787a1ad9b3072f8dbd25
RMD160 (glitz-0.4.4.tar.gz) = ffbdc0467c8ac727747eb430bcdde226f8fcce42
Size (glitz-0.4.4.tar.gz) = 425742 bytes
SHA1 (patch-aa) = d725f03f96082b6d9b31c608a0e4c1beb71e87f1

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.5 2005/10/03 19:46:56 joerg Exp $
--- configure.orig 2005-10-03 18:14:07.000000000 +0000
+++ configure
@@ -22799,7 +22799,7 @@ echo "${ECHO_T}$xthreads" >&6
if test "x$xthreads" = "xyes"
then
- GLX_LIBS="$GLX_LIBS -lpthread"
+ GLX_LIBS="$GLX_LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
cat >>confdefs.h <<\_ACEOF
#define XTHREADS 1
_ACEOF