submitted-add-needed
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 18 Oct 2016 21:10:46 +0000 (21:10 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 18 Oct 2016 21:10:46 +0000 (21:10 +0000)
2011-03-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to
        libc.so on GNU/Hurd.

No topgit branch. It's still unclear what we want to aim for.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name submitted-add-needed.diff

Makerules

index 7e4077ee505d2f786ce529f5c0b2f5645d8247f8..93c51cce9550e2289bec7eaa30c3b30d0feccf5d 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1093,6 +1093,9 @@ $(inst_libdir)/libc.so: $(common-objpfx)format.lds \
              '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
              ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
        ) > $@.new
+ifeq ($(patsubst gnu%,,$(config-os)),)
+       echo 'INPUT ( AS_NEEDED ( -lmachuser -lhurduser ) )' >> $@.new
+endif
        mv -f $@.new $@
 
 endif