about summary refs log tree commit diff
path: root/elf/libc_early_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/libc_early_init.c')
-rw-r--r--elf/libc_early_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/libc_early_init.c b/elf/libc_early_init.c
index 3c4a19cf6b..affc46fefc 100644
--- a/elf/libc_early_init.c
+++ b/elf/libc_early_init.c
@@ -38,7 +38,7 @@ __libc_early_init (_Bool initial)
   __libc_single_threaded = initial;
 
 #ifdef SHARED
-  __libc_initial = initial;
+  __libc_single_threaded_internal = __libc_initial = initial;
 #endif
 
   __pthread_early_init ();