aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-13 10:29:43 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-13 10:29:43 +0200
commit52d4fef8be8742ce1d0b4654bd5fcd5d9143dfb6 (patch)
tree6017d46921703d11cf05f3fcaaf18e89df91a8dc
parent995a80dfbcb443ead5aa22682c884ec5c827a2ea (diff)
downloadglibc-52d4fef8be8742ce1d0b4654bd5fcd5d9143dfb6.zip
glibc-52d4fef8be8742ce1d0b4654bd5fcd5d9143dfb6.tar.gz
glibc-52d4fef8be8742ce1d0b4654bd5fcd5d9143dfb6.tar.bz2
Fix pattern on $(ldd-rewrite-script) substitution
-rw-r--r--ChangeLog2
-rw-r--r--elf/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6fd8c36..95b1fac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-09-13 Andreas Schwab <schwab@redhat.com>
+ * elf/Makefile (gen-ldd): Fix pattern.
+
* elf/rtld.c (dl_main): Only use USE___THREAD when defined.
(init_tls): Likewise.
diff --git a/elf/Makefile b/elf/Makefile
index a2d976e..f20f52d 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