]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lua: Fix install conflict when enable multilib.
authorWang Mingyu <wangmy@fujitsu.com>
Wed, 8 Mar 2023 01:40:16 +0000 (09:40 +0800)
committerSteve Sakoman <steve@sakoman.com>
Fri, 10 Mar 2023 15:54:34 +0000 (05:54 -1000)
commit7726945826ee15338aa5b2dddd6857eb960b6dd5
tree13c44923e8ca54b54cc6ea7c52082240f89ddab5
parent9a1ae305719a4dc2344dbbad46caf99ca8155e98
lua: Fix install conflict when enable multilib.

Error: Transaction test error:
  file /usr/include/luaconf.h conflicts between attempted installs of lua-dev-5.4.4-r0.aarch64 and lib32-lua-dev-5.4.4-r0.armv7ahf_neon

The differences between the two files are as follows:
@@ -219,7 +219,7 @@

 #define LUA_ROOT       "/usr/"
 #define LUA_LDIR       LUA_ROOT "share/lua/" LUA_VDIR "/"
-#define LUA_CDIR       LUA_ROOT "lib64/lua/" LUA_VDIR "/"
+#define LUA_CDIR       LUA_ROOT "lib/lua/" LUA_VDIR "/"

 #if !defined(LUA_PATH_DEFAULT)
 #define LUA_PATH_DEFAULT  \

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b58d86f9902a7eb7a821a3e36ba298c082c0f1f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/lua/lua_5.4.4.bb