summaryrefslogtreecommitdiff
path: root/rt/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-14 04:25:14 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-14 04:25:14 +0000
commit23382b36a7f28c5205edd77bacf00fa7cbee9d53 (patch)
treeb963959d3ac8117e7c0fe285f90245c0576afa73 /rt/Makefile
parent31a5468806fa75f49f7239f05eb7c857ee8a4191 (diff)
downloadglibc-23382b36a7f28c5205edd77bacf00fa7cbee9d53.tar.gz
Update.
2001-09-13 Jakub Jelinek <jakub@redhat.com> * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter is already found earlier in the search scope. 2001-09-12 Jakub Jelinek <jakub@redhat.com> * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's filter.
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 47ce1fbe84..df766f46a1 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -54,6 +54,10 @@ include ../Rules
$(objpfx)librt.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a \
$(shared-thread-library)
+ifeq (yes,$(have-thread-library))
+LDFLAGS-rt.so += -Wl,-F,lib$(libprefix)$(patsubst lib%.so,%,$(notdir $(shared-thread-library))).so$($(notdir $(shared-thread-library))-version)
+endif
+
ifeq (yes,$(build-shared))
$(addprefix $(objpfx),$(tests)): $(objpfx)librt.so $(shared-thread-library)
else