aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxml/libxml2-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxml/libxml2-native.inc')
-rw-r--r--recipes/libxml/libxml2-native.inc24
1 files changed, 15 insertions, 9 deletions
diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
index b819f95fba..3f67152ca1 100644
--- a/recipes/libxml/libxml2-native.inc
+++ b/recipes/libxml/libxml2-native.inc
@@ -5,16 +5,22 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
S = "${WORKDIR}/libxml2-${PV}"
-inherit distutils-base autotools native pkgconfig
+inherit autotools native pkgconfig distutils-native-base
-EXTRA_OECONF = "\
- --with-python=${PYTHON_DIR} \
- --without-debug \
- --without-legacy \
- --with-catalog \
- --without-docbook \
- --with-c14n \
-"
+do_configure_prepend () {
+ EXTRA_LIBXML2_OECONF="\
+ --with-python=${PYTHON_DIR} \
+ --without-debug \
+ --without-legacy \
+ --with-catalog \
+ --without-docbook \
+ --with-c14n \
+ "
+}
+
+do_configure (){
+ autotools_do_configure ${EXTRA_LIBXML2_OECONF}
+}
do_stage () {
oe_runmake install