File libmemcached-pthread.patch of Package libmemcached

=== modified file 'm4/ax_pthread.m4'
---
 m4/ax_pthread.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libmemcached-1.0.18/m4/ax_pthread.m4
===================================================================
--- libmemcached-1.0.18.orig/m4/ax_pthread.m4
+++ libmemcached-1.0.18/m4/ax_pthread.m4
@@ -123,7 +123,7 @@ fi
 # which indicates that we try without any flags at all, and "pthread-config"
 # which is a program returning the flags for the Pth emulation library.
 
-ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -lpthread -lpthreads -mthreads pthread --thread-safe -mt pthread-config"
 
 # The ordering *is* (sometimes) important.  Some notes on the
 # individual items follow:
openSUSE Build Service is sponsored by