From aaf9a66af4446c6205e8c3345eeee94a8de70bbb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Jul 2020 20:34:17 +0100 Subject: [PATCH] [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 --- Makerules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makerules b/Makerules index 1e9c18f0d..b1416027f 100644 --- a/Makerules +++ b/Makerules @@ -1104,6 +1104,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 -- 2.30.2