diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-09-11 20:33:24 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-09-11 20:34:57 +0200 |
commit | 0f31fe77917284db6537bf9fdf45f3f656025ff9 (patch) | |
tree | 3ca8b7d0abcaa14e3c3266382b71270489941fe5 /elf/Makefile | |
parent | 633f745dcad9c7324f56f8ef85ee9b460b1006e7 (diff) | |
download | glibc-0f31fe77917284db6537bf9fdf45f3f656025ff9.zip glibc-0f31fe77917284db6537bf9fdf45f3f656025ff9.tar.gz glibc-0f31fe77917284db6537bf9fdf45f3f656025ff9.tar.bz2 |
Prepend $(..) to $(ldd-rewrite-script) if non-absolute
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index bb46601..a2d976e 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -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 |