[oe-commits] Kai Kang : libnewt-python: remove make var LIBNEWTSH
git at git.openembedded.org
git at git.openembedded.org
Sat Feb 14 22:27:39 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 9963b22acacbe49bffd7ebdeb72c45280e687385
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9963b22acacbe49bffd7ebdeb72c45280e687385
Author: Kai Kang <kai.kang at windriver.com>
Date: Thu Feb 12 16:26:07 2015 +0800
libnewt-python: remove make var LIBNEWTSH
Var LIBNEWTSH which points to libnewt.so in STAGING_LIBDIR is passed to
make. But during do_compile, LIBNEWTSH is rebuilt. Check the log that
gcc populates file into STAGING_LIBDIR directly:
i586-poky-linux-gcc -m32 -march=i586
--sysroot=/poky/builds/build/tmp/sysroots/qemux86 -shared -o
/poky/builds/build/tmp/sysroots/qemux86/usr/lib/libnewt.so.0.52.18
...
It is not a proper operation export file into STAGING_LIBDIR during
compile. So remove the var LIBNEWTSH.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/newt/libnewt-python_0.52.18.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.18.bb b/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
index d591fbd..ecc670e 100644
--- a/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
+++ b/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
@@ -12,7 +12,7 @@ EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
do_compile () {
VERSION="$(sed -n 's/^VERSION = //p' Makefile)"
- oe_runmake "LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION" _snack.so
+ oe_runmake _snack.so
}
do_install () {
More information about the Openembedded-commits
mailing list