diff options
author | Andreas Schwab <schwab@suse.de> | 1999-03-22 17:40:43 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1999-03-22 17:40:43 +0000 |
commit | 9f2a9248d1265277667ae30f3a9b68bef1d45610 (patch) | |
tree | 18b5ea635c307f117348bb08363c308b121d2395 /elf | |
parent | 2f512715ce4e811789393378fc8101a38c1f665d (diff) | |
download | glibc-9f2a9248d1265277667ae30f3a9b68bef1d45610.tar.gz glibc-9f2a9248d1265277667ae30f3a9b68bef1d45610.tar.xz glibc-9f2a9248d1265277667ae30f3a9b68bef1d45610.zip |
* elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
$(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable targets if not building shared libraries. 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name), $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable targets if not building shared libraries.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile index a791ffdbc0..c6f9ef8f51 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -168,6 +168,7 @@ CFLAGS-dl-load.c += -Wno-uninitialized # rule to build a shared library. $(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so +ifeq (yes,$(build-shared)) $(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so $(+force) $(do-install-program) @@ -178,6 +179,7 @@ $(inst_slibdir)/$(rtld-installed-name): \ # Special target called by parent to install just the dynamic linker. .PHONY: ldso_install ldso_install: $(inst_slibdir)/$(rtld-installed-name) +endif common-ldd-rewrite = -e 's%@RTLD@%$(slibdir)/$(rtld-installed-name)%g' \ |