musl: Install /lib directory

loader is installed into /lib and ${base_libdir} may not be always
pointing to /lib, while here we want to create the directory where ldso
will reside

(From OE-Core rev: 76795b5a4452b531c342df2c8a3bbb264cc8a8d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2021-02-20 11:09:23 -08:00
committed by Richard Purdie
parent 1963444d58
commit b7d18a2fa7

View File

@@ -62,7 +62,7 @@ do_compile() {
do_install() {
oe_runmake install DESTDIR='${D}'
install -d ${D}${bindir} ${D}${base_libdir} ${D}${sysconfdir}
install -d ${D}${bindir} ${D}/lib ${D}${sysconfdir}
echo "${base_libdir}" > ${D}${sysconfdir}/ld-musl-${MUSL_LDSO_ARCH}.path
echo "${libdir}" >> ${D}${sysconfdir}/ld-musl-${MUSL_LDSO_ARCH}.path
rm -f ${D}${bindir}/ldd ${D}${GLIBC_LDSO}