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:
parent
bb175ec208
commit
cf1e754b3f
|
@ -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"
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
require libxml2.inc
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
|
Loading…
Reference in New Issue