[oe-commits] Yi Zhao : luajit: fix build failure for multilib
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 8 12:16:12 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: 44791c221c7542d0c2301cd849afb188859f25e9
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=44791c221c7542d0c2301cd849afb188859f25e9
Author: Yi Zhao <yi.zhao at windriver.com>
Date: Thu Jun 4 15:48:11 2015 +0800
luajit: fix build failure for multilib
Fix libdir in Makefile
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb
index a11b771..b00138a 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb
@@ -16,8 +16,8 @@ inherit pkgconfig binconfig
BBCLASSEXTEND = "native"
do_configure_prepend() {
- sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile
- sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
+ sed -i 's:PREFIX= /usr/local:PREFIX= ${prefix}:g' ${S}/Makefile
+ sed -i 's:MULTILIB= lib:MULTILIB= ${base_libdir}:g' ${S}/Makefile
}
EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} \
More information about the Openembedded-commits
mailing list