From eb0e4756cfe8dcfc56ea9306f731960d4339a8f7 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 19 May 2021 22:16:26 +0200 Subject: nptl: Add missing __pthread_cond_wait alias in static builds Fixes commit cf3fff1c195f859ba949a7ad86d4fca70bd99740 ("nptl: Move cnd_wait into libc"). Reviewed-by: Jonathan Nieder --- nptl/pthread_cond_wait.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nptl') diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 54e504a6b5..409a99ecb7 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 -- cgit 1.4.1