mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
glibc: Adapt do_install_append_aarch64() for usrmerge
Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.
(From OE-Core rev: ac373c9f760463d989d6a1eb3a14b7c5b255b9d4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06cf2a85c6
commit
942987f9cb
@@ -114,15 +114,15 @@ do_install_append () {
|
||||
}
|
||||
|
||||
do_install_append_aarch64 () {
|
||||
if [ "${base_libdir}" != "/lib" ] ; then
|
||||
if [ "${base_libdir}" != "${nonarch_base_libdir}" ]; then
|
||||
# The aarch64 ABI says the dynamic linker -must- be /lib/ld-linux-aarch64[_be].so.1
|
||||
install -d ${D}/lib
|
||||
install -d ${D}${nonarch_base_libdir}
|
||||
if [ -e ${D}${base_libdir}/ld-linux-aarch64.so.1 ]; then
|
||||
ln -s ${@base_path_relative('/lib', '${base_libdir}')}/ld-linux-aarch64.so.1 \
|
||||
${D}/lib/ld-linux-aarch64.so.1
|
||||
ln -s ${@base_path_relative('${nonarch_base_libdir}', '${base_libdir}')}/ld-linux-aarch64.so.1 \
|
||||
${D}${nonarch_base_libdir}/ld-linux-aarch64.so.1
|
||||
elif [ -e ${D}${base_libdir}/ld-linux-aarch64_be.so.1 ]; then
|
||||
ln -s ${@base_path_relative('/lib', '${base_libdir}')}/ld-linux-aarch64_be.so.1 \
|
||||
${D}/lib/ld-linux-aarch64_be.so.1
|
||||
ln -s ${@base_path_relative('${nonarch_base_libdir}', '${base_libdir}')}/ld-linux-aarch64_be.so.1 \
|
||||
${D}${nonarch_base_libdir}/ld-linux-aarch64_be.so.1
|
||||
fi
|
||||
fi
|
||||
do_install_armmultilib
|
||||
|
||||
Reference in New Issue
Block a user