From: Brad <br...@co...> - 2011-10-04 21:56:03
|
Here is a patch to correct the way in which POSIX threads are linked on OpenBSD. diff --git a/configure.ac b/configure.ac index 53f1330..e177c54 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,11 @@ THREAD_IMPL=${with_thread} AC_SUBST(THREAD_IMPL) if test "x${with_thread}" = "xpthread" ; then - case "$host_os" in + case "$host_os" in + openbsd*) + PTHREAD_CFLAGS= + PTHREAD_LIBS=-pthread + ;; *) PTHREAD_CFLAGS= PTHREAD_LIBS=-lpthread -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |