aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makeconfig b/Makeconfig
index c48e657..db62f8e 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -722,14 +722,12 @@ ifndef rtld-version-installed-name
rtld-version-installed-name = ld-$(version).so
endif
-# The librt must be linked with the thread library, at least
-# for now.
+endif # build-shared
+
ifneq (,$(findstring linuxthreads,$(add-ons)))
shared-thread-library = $(common-objpfx)linuxthreads/libpthread.so
-# Yes, we can compile librt.
-rt = rt
+static-thread-library = $(common-objpfx)linuxthreads/libpthread.a
+have-thread-library = yes
endif
-endif # build-shared
-
endif # Makeconfig not yet included