aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-mono/mono/mono-native-5.xx-base.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-mono/mono/mono-native-5.xx-base.inc b/recipes-mono/mono/mono-native-5.xx-base.inc
index 5379bc7..50460f1 100644
--- a/recipes-mono/mono/mono-native-5.xx-base.inc
+++ b/recipes-mono/mono/mono-native-5.xx-base.inc
@@ -9,3 +9,10 @@ do_compile() {
EDEPENDS_X11 =+ "libgdiplus-native"
PACKAGECONFIG[x11] = ",,${EDEPENDS_X11}"
+
+mono_copy_libdir_mono() {
+ install -d -m0755 ${STAGING_LIBDIR_NATIVE}
+ cp -arf ${SYSROOT_DESTDIR}${STAGING_LIBDIR_NATIVE}/mono ${STAGING_LIBDIR_NATIVE}/
+}
+
+do_populate_sysroot[postfuncs] += " mono_copy_libdir_mono "