libmemcached/libmemcached-pthread.patch

15 lines
661 B
Diff

=== modified file 'm4/ax_pthread.m4'
--- m4/ax_pthread.m4 2012-07-27 04:00:47 +0000
+++ m4/ax_pthread.m4 2012-11-09 03:56:45 +0000
@@ -123,7 +123,7 @@
# 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: