diff --git a/recipes-mono/mono/mono-base.inc b/recipes-mono/mono/mono-base.inc index e64a496..8028445 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