[oe-commits] Yi Zhao : luajit: fix build failure for multilib
git at git.openembedded.org
git at git.openembedded.org
Fri Jun 5 09:02:24 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 1f80a90aecf09caf8d0f609b61934e652fa8444e
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=1f80a90aecf09caf8d0f609b61934e652fa8444e
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