about summary refs log tree commit diff
path: root/nptl/pthread_cond_wait.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-19 22:16:26 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-19 22:16:28 +0200
commiteb0e4756cfe8dcfc56ea9306f731960d4339a8f7 (patch)
tree17a897a4f0e25b94a4bc74c5642f08bf527a2b18 /nptl/pthread_cond_wait.c
parentf294306ba1385b096f4e4cac9146a989f1e6d1c0 (diff)
downloadglibc-eb0e4756cfe8dcfc56ea9306f731960d4339a8f7.tar.gz
glibc-eb0e4756cfe8dcfc56ea9306f731960d4339a8f7.tar.xz
glibc-eb0e4756cfe8dcfc56ea9306f731960d4339a8f7.zip
nptl: Add missing __pthread_cond_wait alias in static builds
Fixes commit cf3fff1c195f859ba949a7ad86d4fca70bd99740 ("nptl: Move
cnd_wait into libc").

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'nptl/pthread_cond_wait.c')
-rw-r--r--nptl/pthread_cond_wait.c3
1 files changed, 3 insertions, 0 deletions
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