summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index ba777880bf..4d816a0815 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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