diff mbox series

[meta-oe,3/3] luaposix: Fix LUA_INCDIR path

Message ID 20250130014356.1610566-3-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/3] opencl-cts: Disable for RISCV architectures | expand

Commit Message

Khem Raj Jan. 30, 2025, 1:43 a.m. UTC
If not specified on build commandline for luke, it results in
pulling it from build host development headers under /usr/include
this was always happening but with recent fixes to GCC poisoning
host includes patch, this issue has come to fore.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb b/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
index 1d27eb2588..7fb0965813 100644
--- a/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
+++ b/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
@@ -16,7 +16,7 @@  B = "${S}"
 inherit pkgconfig
 
 do_compile() {
-    ${S}/build-aux/luke
+    ${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
 }
 
 do_install() {