(link-libc): Link against libc_nonshared.a instead of libc.a. Remove
authordrepper <drepper>
Fri, 27 Mar 1998 22:47:55 +0000 (22:47 +0000)
committerdrepper <drepper>
Fri, 27 Mar 1998 22:47:55 +0000 (22:47 +0000)
explicit reference to dynamic linker.

Makeconfig

index 17967ab..18f978b 100644 (file)
@@ -404,8 +404,7 @@ ifeq (yes,$(build-shared))
 # run the linked programs.
 link-libc = -Wl,-rpath-link=$(rpath-link) \
            $(common-objpfx)libc.so$(libc.so-version) \
-           $(elfobjdir)/$(rtld-installed-name) \
-           $(common-objpfx)libc_nonshared.a $(gnulib)
+           $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
 # Choose the default search path for the dynamic linker based on
 # where we will install libraries.
 ifneq ($(libdir),$(slibdir))