Add shared-thread-library variable.
[kopensolaris-gnu/glibc.git] / Makeconfig
index ba77788..4d816a0 100644 (file)
@@ -688,6 +688,12 @@ ifndef rtld-version-installed-name
 rtld-version-installed-name = ld-$(version).so
 endif
 
+# The librt must contain be linked with the thread library.  It least
+# for now.
+ifneq (,$(findstring linuxthreads,$(add-ons)))
+shared-thread-library = $(common-objpfx)linuxthreads/libpthread.so
+endif
+
 endif # build-shared
 
 endif # Makeconfig not yet included