(libc.so): Add AS_NEEDED line for dynamic linker.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2005 02:09:38 +0000 (02:09 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2005 02:09:38 +0000 (02:09 +0000)
Makerules

index 887d727..5c8185f 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -972,7 +972,7 @@ $(inst_libdir)/libc.so: $(common-objpfx)format.lds \
         cat $<; \
         echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
              '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
-             ')' \
+             'AS_NEEDED (' $(inst_slibdir)/$(rtld-installed-name) ') )' \
        ) > $@.new
        mv -f $@.new $@