[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358708: GNU/kFreeBSD



retitle 358708 libx11: hurd-i386, kfreebsd-i386 and kfreebsd-amd64 need -lpthread for threads too
forwarded 358708 https://bugs.freedesktop.org/show_bug.cgi?id=6690
thanks

Hi!

The same applies to GNU/kFreeBSD.  Please use this patch instead, which fixes
problem with both systems.

Also in upstream: https://bugs.freedesktop.org/show_bug.cgi?id=6690

-- 
Robert Millan
--- configure.ac.orig	2006-03-24 02:07:09.000000000 +0000
+++ configure.ac	2006-03-24 02:07:21.000000000 +0000
@@ -157,7 +157,7 @@
 dnl XXX incomplete, please fill this in
 if test x$xthreads = xyes ; then
     case $host_os in
-    linux*|openbsd*)
+    linux*|openbsd*|gnu*|k*bsd*-gnu)
         XTHREADLIB=-lpthread ;;
     freebsd*)
         XTHREAD_CFLAGS="-D_THREAD_SAFE"

Reply to: