thread: Force linking with -lpthread, even when --as-needed is in use.
commitcca32830b57e91f837c01d15b8732f23ff97fc36
authorBruno Haible <bruno@clisp.org>
Thu, 24 Jan 2019 03:10:48 +0000 (24 04:10 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Jan 2019 03:12:26 +0000 (24 04:12 +0100)
tree5571f1adedc837a93d184a92f1d67b76f631e7d0
parent7b56f157a32c5aab6bd65a49c55e18113ad83e3e
thread: Force linking with -lpthread, even when --as-needed is in use.

Reported by Richard W.M. Jones <rjones@redhat.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00123.html>.

* lib/glthread/thread.h (pthread_create): Don't declare weak.
ChangeLog
lib/glthread/thread.h