aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lua
diff options
context:
space:
mode:
authorHaseeb Ashraf <haseeb_ashraf@mentor.com>2020-04-16 22:27:29 +0500
committerKhem Raj <raj.khem@gmail.com>2020-04-16 11:40:40 -0700
commit7c37f90893723f8c9432825c00e4ecbfab292ef5 (patch)
tree6e1217b5e47716aba4b003d9744404d2335309a6 /meta-oe/recipes-devtools/lua
parentf352ce07656fbc9fe852c870d864b0186d8e74e7 (diff)
downloadmeta-openembedded-contrib-7c37f90893723f8c9432825c00e4ecbfab292ef5.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-devtools/lua')
-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 ae41e627f07..a23a4a5dac8 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 () {