]> code.ossystems Code Review - openembedded-core.git/commit
libxml2: fix python path and add libxml2-python
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 9 Sep 2014 03:24:38 +0000 (20:24 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2015 10:41:11 +0000 (11:41 +0100)
commited72e123724599e70eb4d283f06fca3e56a8b50a
treec3120e7f3233a362bffd6418a05ea8802ea03764
parentf049a53078b3876be9fefc1e5f64404a3f378724
libxml2: fix python path and add libxml2-python

We have libxml2-python for native and nativesdk, but don't have it for
target, and can't find the reason from the git log, libxml2-python is
widely used, after looked into it's configure.in, we can add it
by PACKAGECONFIG.

The previous --with-python=${STAGING_BINDIR}/python is incorrect, it
acted as work becase it's conigure can check automatically, python is in
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}, as known as
${PYTHON}.

Add python to PACKAGECONFIG, since createrepo rdepends on
libxml2-python, otherwise the target createrepo can't work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/libxml/libxml2.inc