Define have-thread-library, shared-thread-library and
authordrepper <drepper>
Mon, 16 Mar 1998 08:25:14 +0000 (08:25 +0000)
committerdrepper <drepper>
Mon, 16 Mar 1998 08:25:14 +0000 (08:25 +0000)
static-thread-library if a thread library is available.  Don't define
rt.

Makeconfig

index c48e657..db62f8e 100644 (file)
@@ -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