Skip to contentSkip to conversation

luajit: Fix host development package

PATCH New Alexander Stein 1 participant 1 message Aug 5, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 luajit: Fix host development package

The 32 Bit host development package needed is libc6-dev:i386, not libc6-dev-i386.

---
At least on my Ubuntu 22.04 the package libc6-dev-i386 was not enough as /usr/include/i386-linux-gnu/bits/errno.h was missing.

 meta-oe/recipes-devtools/luajit/luajit_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +1 -1
index 240271d41..418921754 100644
@@ -21,7 +21,7 @@ BBCLASSEXTEND = "native"
 # Host luajit needs to be compiled with the same pointer size
 # If you want to cross-compile to any 32 bit target on an x64 OS,
 # you need to install the multilib development package (e.g.
-# libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part
+# libc6-dev:i386 on Debian/Ubuntu) and build a 32 bit host part
 # (HOST_CC="gcc -m32").
 BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}"
 
Signature · 1 line
2.34.1