[meta-swupdate] luafilesystem: Fix multilib builds

11 views
Skip to first unread message

Jurgen van Rooyen

unread,
Nov 19, 2025, 1:08:04 AM (14 days ago) Nov 19
to swup...@googlegroups.com, Jurgen van Rooyen
Fixes the recipe to specify the correct path for FILES when building
with multilib by using ${nonarch_base_libdir}. When using multilib
${libdir} may evaluate to a path other than the /usr/lib/.

Signed-off-by: Jurgen van Rooyen <jurgen.v...@garmin.com>
---
recipes-lua/luafilesystem/luafilesystem_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-lua/luafilesystem/luafilesystem_git.bb b/recipes-lua/luafilesystem/luafilesystem_git.bb
index 175cf11..9fa00db 100644
--- a/recipes-lua/luafilesystem/luafilesystem_git.bb
+++ b/recipes-lua/luafilesystem/luafilesystem_git.bb
@@ -20,7 +20,7 @@ EXTRA_OEMAKE = 'PREFIX=${D}/${prefix} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.

-FILES:${PN} = "${libdir} ${datadir}/lua"
+FILES:${PN} = "${nonarch_base_libdir} ${datadir}/lua"

do_configure () {
# Specify any needed configure commands here
--
2.50.1

Reply all
Reply to author
Forward
0 new messages