(config-LDFLAGS): Add ld.so only for ELF.
authordrepper <drepper>
Sun, 8 Jul 2001 15:05:43 +0000 (15:05 +0000)
committerdrepper <drepper>
Sun, 8 Jul 2001 15:05:43 +0000 (15:05 +0000)
Makeconfig

index d6e8b85..5351360 100644 (file)
@@ -417,7 +417,7 @@ ifndef +link-bounded
              $(link-extra-libs-bounded) $(link-libc-bounded) $(+postctor) $(+postinit)
 endif
 ifndef config-LDFLAGS
-ifeq (yes,$(build-shared))
+ifeq (yesyes,$(build-shared)$(elf))
 config-LDFLAGS = -Wl,-dynamic-linker=$(slibdir)/$(rtld-installed-name)
 endif
 endif