summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index a2d976ebc5..f20f52dee1 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -483,7 +483,7 @@ endef
 else
 define gen-ldd
 LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< \
-| LC_ALL=C sed -f $(patsubst $(..)/,/,$(..)$(ldd-rewrite-script)) > $@.new
+| LC_ALL=C sed -f $(patsubst $(..)/%,/%,$(..)$(ldd-rewrite-script)) > $@.new
 endef
 endif