static-thread-library if a thread library is available. Don't define
rt.
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