From: Samuel Thibault Date: Thu, 28 Feb 2019 05:56:01 +0000 (+0000) Subject: Add -lmachuser -lhurduser to libc.so on GNU/Hurd. X-Git-Tag: archive/raspbian/2.28-8+rpi1^2~103 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f1b25310b84d147fc81b708b941cd16cc98ab3a1;p=glibc.git Add -lmachuser -lhurduser to libc.so on GNU/Hurd. http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html 2011-03-29 Samuel Thibault * Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to libc.so on GNU/Hurd. It's still unclear what we want to aim for. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name tg-mach-hurd-link.diff --- diff --git a/Makerules b/Makerules index a10a0b4d7..9c419aed7 100644 --- a/Makerules +++ b/Makerules @@ -1174,6 +1174,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