From: Samuel Thibault Date: Sun, 19 Sep 2021 18:46:59 +0000 (+0100) Subject: [PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd. X-Git-Tag: archive/raspbian/2.32-4+rpi1~1^2~69 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=68123eb868a81cc1ea5b5934f49eabcfb13d0d40;p=glibc.git [PATCH] 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 ef0fe67d9..1b223b72e 100644 --- a/Makerules +++ b/Makerules @@ -1102,6 +1102,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