summaryrefslogblamecommitdiff
path: root/net/wired-tracker/files/patch-configure
blob: b193f5630a3bde7cfae4350db13555914e704326 (plain) (tree)
1
2
3
4
5


                                                           
                                
 











                                                       
 
                     
 



                                                         


                  
--- configure.orig	2009-03-09 17:52:11.000000000 +0100
+++ configure	2009-03-10 21:32:32.000000000 +0100
@@ -6791,12 +6791,12 @@
 		OLD_LIBS="$LIBS"
 
 	if test -z "$LIBS"; then
-		LIBS="-lpthread"
+		LIBS="-pthread"
 	else
-		MATCH=`expr -- "$LIBS" : ".*-lpthread"`
+		MATCH=`expr -- "$LIBS" : ".*-pthread"`
 
 		if test "$MATCH" = "0"; then
-			LIBS="$LIBS -lpthread"
+			LIBS="$LIBS -pthread"
 		fi
 	fi
 
@@ -6936,7 +6936,7 @@
 
 		if test "$wi_pthreads_test" = "yes"; then
 			wi_pthreads_found="yes"
-			wi_pthreads_libs="-lpthread"
+			wi_pthreads_libs="-pthread"
 		fi
 	fi