openbsd: remove -pthread
authorAntoine Jacoutot <ajacoutot@gnome.org>
Thu, 10 Apr 2014 08:40:16 +0000 (10:40 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Sat, 12 Apr 2014 05:56:09 +0000 (07:56 +0200)
This is not needed any longer; libpthread is properly included in
shared libs on OpenBSD where -pthread -lpthread mean the same.

configure.ac

index 806b6df..f5ce6af 100644 (file)
@@ -2276,9 +2276,6 @@ case $host in
   *-*-freebsd*|*-*-linux*)
     G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
     ;;
-  *-*-openbsd*)
-    LDFLAGS="$LDFLAGS -pthread"
-    ;;
   *)
     G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS"
     ;;