From 6461e57784358cf4fd261e5e61d064a315aae924 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 13 Mar 2003 21:51:07 +0000 Subject: * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line entries in the map file match too. --- elf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index 205957c..7c3f0f1 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -210,7 +210,8 @@ $(objpfx)librtld.map: $(objpfx)dl-allobjs.os $(common-objpfx)libc_pic.a mv -f $@T $@ $(objpfx)librtld.mk: $(objpfx)librtld.map Makefile - sed -n 's@^$(common-objpfx)\([^(]*\)(\([^)]*\.os\))$$@\1 \2@p' $< | \ + sed -n 's@^$(common-objpfx)\([^(]*\)(\([^)]*\.os\)) *.*$$@\1 \2@p' \ + $< | \ while read lib file; do \ case $$lib in \ libc_pic.a) \ -- cgit v1.1