libxml2: fix python binding

--with-python= should be followed by the path to python binary, not
prefix, also export several environment for passing building,
fixes [BUGID #69]

Signed-off-by: Qing He <qing.he@intel.com>
This commit is contained in:
Qing He 2010-08-12 13:59:29 +08:00 committed by Richard Purdie
parent bb175ec208
commit cf1e754b3f
2 changed files with 8 additions and 2 deletions

View File

@ -19,7 +19,13 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
inherit autotools pkgconfig binconfig
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n"
EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-debug --without-legacy --with-catalog --without-docbook --with-c14n"
# required for pythong binding
export HOST_SYS
export BUILD_SYS
export STAGING_LIBDIR
export STAGING_INCDIR
export LDFLAGS += "-ldl"

View File

@ -1,3 +1,3 @@
require libxml2.inc
PR = "r0"
PR = "r1"