https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7c4719f548b5b959ed82e2992d77d04e7e7836ef

commit 7c4719f548b5b959ed82e2992d77d04e7e7836ef
Author: Corinna Vinschen <cori...@vinschen.de>
Date:   Tue Sep 1 12:52:08 2020 +0200

    Cygwin: libpthread: Export C11 thread symbols from libpthread.a as well
    
    ...as on glibc right now.  This is supposed to support autoconf scripts
    checking for existence of these symbols in libpthread.
    
    Signed-off-by: Corinna Vinschen <cori...@vinschen.de>

Diff:
---
 winsup/cygwin/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 03e3b0027..4017481e5 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -763,7 +763,8 @@ ${CURDIR}/libc.a: ${LIB_NAME} ${CURDIR}/libm.a libpthread.a 
libutil.a
 ${CURDIR}/libm.a: ${LIB_NAME} $(LIBM) $(MATH_OFILES)
        ${speclib} ${@F}
 
-libpthread.a: ${LIB_NAME} pthread.o thread.o
+libpthread.a: ${LIB_NAME} pthread.o thread.o call_once.o cnd.o mtx.o \
+             thrd.o tss.o
        ${speclib} ${@F}
 
 libutil.a: ${LIB_NAME} bsdlib.o

Reply via email to