]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libnewt-python: remove make var LIBNEWTSH
authorKai Kang <kai.kang@windriver.com>
Thu, 12 Feb 2015 08:26:07 +0000 (16:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Feb 2015 22:26:11 +0000 (22:26 +0000)
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@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/newt/libnewt-python_0.52.18.bb

index d591fbd3d2b6dc989b2440a1deb24831975e5622..ecc670e0aa07dd08440b14a37d88be2075629a42 100644 (file)
@@ -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 () {