This ensures the glibc based binaries can find it in right place Signed-off-by: Khem Raj <raj.k...@gmail.com> --- meta/recipes-core/musl/gcompat_git.bb | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/musl/gcompat_git.bb b/meta/recipes-core/musl/gcompat_git.bb index e1ae052c44..863ba8dbf0 100644 --- a/meta/recipes-core/musl/gcompat_git.bb +++ b/meta/recipes-core/musl/gcompat_git.bb @@ -14,14 +14,16 @@ SRCREV = "af5a49e489fdc04b9cf02547650d7aeaccd43793" S = "${WORKDIR}/git" -inherit pkgconfig linuxloader +inherit pkgconfig linuxloader siteinfo DEPENDS += "musl-obstack" GLIBC_LDSO = "${@get_glibc_loader(d)}" MUSL_LDSO = "${@get_musl_loader(d)}" -EXTRA_OEMAKE = "LINKER_PATH=${MUSL_LDSO} LOADER_NAME=`basename ${@get_glibc_loader(d)}`" +EXTRA_OEMAKE = "LINKER_PATH=${MUSL_LDSO} \ + LOADER_NAME=`basename ${GLIBC_LDSO}` \ + " do_configure () { : @@ -33,8 +35,16 @@ do_compile () { do_install () { oe_runmake install 'DESTDIR=${D}' + if [ "${SITEINFO_BITS}" = "64" ]; then + install -d ${D}/lib64 + lnr ${D}${GLIBC_LDSO} ${D}/lib64/`basename ${GLIBC_LDSO}` + fi } +FILES_${PN} += "/lib64" + +INSANE_SKIP_${PN} = "libdir" + RPROVIDES_${PN} += "musl-glibc-compat" # # We will skip parsing for non-musl systems -- 2.32.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#152948): https://lists.openembedded.org/g/openembedded-core/message/152948 Mute This Topic: https://lists.openembedded.org/mt/83542788/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-