summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/libc-lockP.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/libc-lockP.h')
-rw-r--r--sysdeps/pthread/libc-lockP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/libc-lockP.h b/sysdeps/pthread/libc-lockP.h
index 2631e0c..c04881d 100644
--- a/sysdeps/pthread/libc-lockP.h
+++ b/sysdeps/pthread/libc-lockP.h
@@ -106,7 +106,7 @@ extern int __pthread_atfork (void (*__prepare) (void),
/* Make the pthread functions weak so that we can elide them from
single-threaded processes. */
-#ifndef __NO_WEAK_PTHREAD_ALIASES
+#if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread)
# ifdef weak_extern
weak_extern (__pthread_mutex_init)
weak_extern (__pthread_mutex_destroy)