mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
toolchain-external: fix uClibc-ng 64bit dynamic loader link
Commit 34f95bf9db (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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
646aa1f3b2
commit
6ec1582028
@@ -730,6 +730,9 @@ define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO
|
|||||||
if test -e $(TARGET_DIR)/lib/ld-uClibc.so.1; then \
|
if test -e $(TARGET_DIR)/lib/ld-uClibc.so.1; then \
|
||||||
ln -sf ld-uClibc.so.1 $(TARGET_DIR)/lib/ld-uClibc.so.0 ; \
|
ln -sf ld-uClibc.so.1 $(TARGET_DIR)/lib/ld-uClibc.so.0 ; \
|
||||||
fi
|
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
|
endef
|
||||||
|
|
||||||
define TOOLCHAIN_EXTERNAL_INSTALL_STAGING_CMDS
|
define TOOLCHAIN_EXTERNAL_INSTALL_STAGING_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user