summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-08 01:36:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-08 01:36:26 +0200
commitbf57989baec0d69986cff3bc6ed9ca44c3f16838 (patch)
tree46d443431be16b04d188ca6cdbaec1046d3f8aa5
parent5f2a21cd366413d50dc0bef023f25c3d261b24f0 (diff)
parent71d1d30224f88d6b0b72d04f6868fdd2f0f2ec11 (diff)
Merge commit 'refs/top-bases/tschwinge/Roger_Whittaker' into tschwinge/Roger_Whittaker
-rw-r--r--Makerules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 4745fcbc68..bd95656ed5 100644
--- a/Makerules
+++ b/Makerules
@@ -1010,6 +1010,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