* elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
authorschwab <schwab>
Mon, 22 Mar 1999 17:40:41 +0000 (17:40 +0000)
committerschwab <schwab>
Mon, 22 Mar 1999 17:40:41 +0000 (17:40 +0000)
$(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
targets if not building shared libraries.

ChangeLog
elf/Makefile

index 2e6f9ca..8533cdb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 Mon Mar 22 15:48:06 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * configure.in: Also look in $PATH when searching for
index a791ffd..c6f9ef8 100644 (file)
@@ -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' \