diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-09-12 21:30:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-09-12 21:30:11 +0000 |
commit | beac809a9b59c88e8ea7a7774ec0fb36d3995ea6 (patch) | |
tree | 4417041f230b9eb7956b17b2d51f836038580110 /rt | |
parent | e69924e348d364f9e5efd5bb7bc452887bb893f9 (diff) | |
download | glibc-beac809a9b59c88e8ea7a7774ec0fb36d3995ea6.zip glibc-beac809a9b59c88e8ea7a7774ec0fb36d3995ea6.tar.gz glibc-beac809a9b59c88e8ea7a7774ec0fb36d3995ea6.tar.bz2 |
Update.
2001-09-12 Jakub Jelinek <jakub@redhat.com>
* rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
filter.
* elf/dl-close.c (_dl_close): Don't free l_libname if it is not
Diffstat (limited to 'rt')
-rw-r--r-- | rt/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rt/Makefile b/rt/Makefile index 47ce1fb..df766f4 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 |