From: Florian Weimer Date: Wed, 19 May 2021 20:16:26 +0000 (+0200) Subject: nptl: Add missing __pthread_cond_wait alias in static builds X-Git-Tag: glibc-2.34~377 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0e4756cfe8dcfc56ea9306f731960d4339a8f7;p=thirdparty%2Fglibc.git nptl: Add missing __pthread_cond_wait alias in static builds Fixes commit cf3fff1c195f859ba949a7ad86d4fca70bd99740 ("nptl: Move cnd_wait into libc"). Reviewed-by: Jonathan Nieder --- diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 54e504a6b5e..409a99ecb79 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -622,6 +622,9 @@ ___pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) versioned_symbol (libc, ___pthread_cond_wait, pthread_cond_wait, GLIBC_2_3_2); libc_hidden_ver (___pthread_cond_wait, __pthread_cond_wait) +#ifndef SHARED +strong_alias (___pthread_cond_wait, __pthread_cond_wait) +#endif /* See __pthread_cond_wait_common. */ int