From bbfff4f0b96101ab58dee091a0c3c6d05cf40201 Mon Sep 17 00:00:00 2001 From: niraami Date: Thu, 17 Oct 2024 13:38:06 +0200 Subject: [PATCH] mono: fix native libdir path for multilib --- recipes-mono/mono/mono-base.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-mono/mono/mono-base.inc b/recipes-mono/mono/mono-base.inc index e64a496f..80284456 100644 --- a/recipes-mono/mono/mono-base.inc +++ b/recipes-mono/mono/mono-base.inc @@ -31,9 +31,9 @@ do_install_append() { ${STAGING_DIR_NATIVE}${sysconfdir}/${PN} ${D}${sysconfdir} install -d ${D}${libdir}/${PN} for lib in ${MONOLIBS}; do - if [ -d "${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib" ]; then + if [ -d "${STAGING_LIBDIR_NATIVE}/${PN}/$lib" ]; then cp -af --no-preserve=ownership \ - ${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib ${D}${libdir}/${PN} + ${STAGING_LIBDIR_NATIVE}/${PN}/$lib ${D}${libdir}/${PN} fi done # AJL - Remove mscorlib.dll.so and mcs.exe.so files copied from mono-native to the mono destination