aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaseeb Ashraf <haseeb_ashraf@mentor.com>2020-04-16 22:27:29 +0500
committerArmin Kuster <akuster808@gmail.com>2020-08-23 10:47:21 -0700
commitf0423b505fdb974e9ad203b0157a9cab16ba3411 (patch)
treeb6f5ca33ae41ebd1dc0001499f634ab7489f53cf
parentf4008e5320c6dbe177e7c4006d9fc21c908eae96 (diff)
downloadmeta-openembedded-contrib-f0423b505fdb974e9ad203b0157a9cab16ba3411.tar.gz
meta-openembedded-contrib-f0423b505fdb974e9ad203b0157a9cab16ba3411.tar.bz2
meta-openembedded-contrib-f0423b505fdb974e9ad203b0157a9cab16ba3411.zip
modify LUA_CPATH_DEFAULT for 64-bit architectures
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> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 7c37f90893723f8c9432825c00e4ecbfab292ef5) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/lua/lua_5.3.5.bb1
1 files changed, 1 insertions, 0 deletions
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 ae41e627f0..a23a4a5dac 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 () {