mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Prepend $(..) to $(ldd-rewrite-script) if non-absolute
This commit is contained in:
parent
633f745dca
commit
0f31fe7791
@ -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]
|
||||
|
@ -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
|
||||
|
||||
|
12
sysdeps/unix/sysv/linux/configure
vendored
12
sysdeps/unix/sysv/linux/configure
vendored
@ -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
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
@ -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
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user