feat: add liblua to image

This commit is contained in:
2025-08-26 17:34:42 +02:00
parent 9438dd05fe
commit 5853c87f38
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " file://0001-enable-shared-library.patch "
EXTRA_OEMAKE += " R='${PV}'"
do_install:append () {
# Your code here
install -d ${D}${libdir}
install -m 0755 ${S}/src/liblua.so.${PV} ${D}${libdir}/
ln -sf liblua.so.${PV} ${D}${libdir}/liblua.so
}