diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-07-16 11:25:34 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-16 23:12:06 +0200 |
commit | 6ec15820289808ed9a53086d1e384c8b4c5802fa (patch) | |
tree | 65cadfa349ce47b077e8792827572e8f3b0de256 | |
parent | 646aa1f3b276673c12c50841f4e80e0d07f2ba90 (diff) | |
download | buildroot-6ec15820289808ed9a53086d1e384c8b4c5802fa.tar.gz buildroot-6ec15820289808ed9a53086d1e384c8b4c5802fa.zip |
toolchain-external: fix uClibc-ng 64bit dynamic loader link
Commit 34f95bf9dbb0 (toolchain-external: fix support of uClibc-ng toolchains,
2015-07-13) added the missing ld-uClibc.so.1 dynamic linker symlink that
binaries expect when linked with uClibc-ng. However on 64bit targets the
linker is called ld64-uClibc.so.1. Handle that case as well.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | toolchain/toolchain-external/toolchain-external.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk index fcb033ca2e..ce9d79f2fa 100644 --- a/toolchain/toolchain-external/toolchain-external.mk +++ b/toolchain/toolchain-external/toolchain-external.mk @@ -730,6 +730,9 @@ define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO if test -e $(TARGET_DIR)/lib/ld-uClibc.so.1; then \ ln -sf ld-uClibc.so.1 $(TARGET_DIR)/lib/ld-uClibc.so.0 ; \ fi + if test -e $(TARGET_DIR)/lib/ld64-uClibc.so.1; then \ + ln -sf ld64-uClibc.so.1 $(TARGET_DIR)/lib/ld64-uClibc.so.0 ; \ + fi endef define TOOLCHAIN_EXTERNAL_INSTALL_STAGING_CMDS |