From 5ef2b506a97854c20bb4e6403325f25c83082d2b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 8 Oct 2015 01:35:55 +0200 Subject: 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. --- Makerules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makerules') diff --git a/Makerules b/Makerules index b46b09b369..1f4ca8ab7c 100644 --- a/Makerules +++ b/Makerules @@ -962,6 +962,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 -- cgit v1.2.3