]> sourceware.org Git - glibc.git/commitdiff
Prepend $(..) to $(ldd-rewrite-script) if non-absolute
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 11 Sep 2011 18:33:24 +0000 (20:33 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 11 Sep 2011 18:34:57 +0000 (20:34 +0200)
ChangeLog
elf/Makefile
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/configure.in

index 7f9208ffc8d058bf4f704ae8b782b860163f069f..e9c2747d1ccc55bcb2cd1e1e71d7ff61a5c13860 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
+       if non-absolute.
+       * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
+       ldd_rewrite_script.
+       * sysdeps/unix/sysv/linux/configure: Regenerated.
+
 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
 
        [BZ #13067]
index bb46601a3afa690c65da591b18aae69a03be7e01..a2d976ebc54dd82e61a045838348b91276b08a53 100644 (file)
@@ -482,7 +482,8 @@ LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< > $@.new
 endef
 else
 define gen-ldd
-LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< | LC_ALL=C sed -f $(ldd-rewrite-script) > $@.new
+LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< \
+| LC_ALL=C sed -f $(patsubst $(..)/,/,$(..)$(ldd-rewrite-script)) > $@.new
 endef
 endif
 
index 816289a7978e64bef71e930436e209ca0773160d..a8ebcf251a832090d4daaeff056aa58bd302e494 100644 (file)
@@ -485,22 +485,22 @@ use_ldconfig=yes
 
 case "$machine" in
   i[3456]86* | m68*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
     ;;
   ia64*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
     ;;
   s390*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
     ;;
   sparc*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
     ;;
   x86_64*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
     ;;
   powerpc*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
     ;;
   *)
     ;;
index 8f00407a8b1d692c6e575b31c2d883522782db5e..3f1daab4efbec6bb2fea393d2414cbc3de8d5ed5 100644 (file)
@@ -224,22 +224,22 @@ use_ldconfig=yes
 changequote(,)
 case "$machine" in
   i[3456]86* | m68*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
     ;;
   ia64*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
     ;;
   s390*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
     ;;
   sparc*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
     ;;
   x86_64*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
     ;;
   powerpc*)
-    ldd_rewrite_script=../sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
+    ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
     ;;
   *)
     ;;
This page took 0.052461 seconds and 5 git commands to generate.