All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] modify LUA_CPATH_DEFAULT for 64-bit architectures
@ 2020-04-16 17:27 Haseeb Ashraf
  0 siblings, 0 replies; only message in thread
From: Haseeb Ashraf @ 2020-04-16 17:27 UTC (permalink / raw)
  To: openembedded-devel

LUA_CPATH_DEFAULT for *.so files should include
LUA_ROOT/lib64/lua/LUA_VDIR not LUA_ROOT/lib/lua/LUA_VDIR

Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
---
 meta-oe/recipes-devtools/lua/lua_5.3.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.5.bb b/meta-oe/recipes-devtools/lua/lua_5.3.5.bb
index ae41e627f..a23a4a5da 100644
--- a/meta-oe/recipes-devtools/lua/lua_5.3.5.bb
+++ b/meta-oe/recipes-devtools/lua/lua_5.3.5.bb
@@ -35,6 +35,7 @@ EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -fPIC' MYLDFLAGS='${LDFLAGS
 
 do_configure_prepend() {
     sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
+    sed -i -e s:lib/lua/:${baselib}/lua/:g src/luaconf.h
 }
 
 do_compile () {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-16 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 17:27 [meta-oe][PATCH v2] modify LUA_CPATH_DEFAULT for 64-bit architectures Haseeb Ashraf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.