18 lines
769 B
Diff
18 lines
769 B
Diff
Description: fix flags tried for pthreads.
|
|
Author: Michael Fladischer <FladischerMichael@fladi.at>
|
|
Last-Update: 2013-06-12
|
|
Forwarded: no
|
|
Bug: https://bugs.launchpad.net/libmemcached/+bug/883267
|
|
|
|
--- a/m4/ax_pthread.m4
|
|
+++ b/m4/ax_pthread.m4
|
|
@@ -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:
|