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.
+2019-01-23 Bruno Haible <bruno@clisp.org>
+
+ 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.
+
2019-01-23 Akim Demaille <akim.demaille@gmail.com>
Bruno Haible <bruno@clisp.org>
call to foo(...) in the same function. To avoid this, we test the
address of a function in libpthread that we don't use. */
-# pragma weak pthread_create
-
# ifndef pthread_sigmask /* Do not declare rpl_pthread_sigmask weak. */
# pragma weak pthread_sigmask
# endif