mruby: install static libraries and headers

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-09-04 00:56:14 +02:00
parent 3303bd6175
commit c515b53f57
2 changed files with 11 additions and 2 deletions

View File

@@ -9,4 +9,10 @@ do_configure_prepend() {
sed -i 's:\#{mrbc_build.build_dir}/bin/mrbc:${STAGING_BINDIR_NATIVE}/mrbc:' ${S}/lib/mruby/build.rb
}
do_install_append() {
# mruby-zest needs our staic libs
install -d ${D}/${libdir}
cp ${B}/build/host/lib/*.a ${D}/${libdir}
}
# REVISIT: Check build for big endian machines

View File

@@ -16,6 +16,9 @@ DEPENDS += " \
"
do_install() {
install -d ${D}/${bindir}
cp ${B}/build/host/bin/* ${D}/${bindir}/
install -d ${D}/${bindir}
cp ${B}/build/host/bin/* ${D}/${bindir}/
install -d ${D}/${includedir}
cp -r ${S}/include/* ${D}/${includedir}
}