summaryrefslogtreecommitdiffstats
path: root/meta/packages/libxml
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-08-12 13:59:29 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 15:10:12 +0100
commitcf1e754b3fee3c7ae907e7ae30233083d7892215 (patch)
treebda80e7e109bc28cccc5fd9db3af11cfd231bd51 /meta/packages/libxml
parentbb175ec20897281969012e6336eb5bd188e297c6 (diff)
downloadpoky-cf1e754b3fee3c7ae907e7ae30233083d7892215.tar.gz
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>
Diffstat (limited to 'meta/packages/libxml')
-rw-r--r--meta/packages/libxml/libxml2.inc8
-rw-r--r--meta/packages/libxml/libxml2_2.7.7.bb2
2 files changed, 8 insertions, 2 deletions
diff --git a/meta/packages/libxml/libxml2.inc b/meta/packages/libxml/libxml2.inc
index 6a763aa4da..5aba6a7875 100644
--- a/meta/packages/libxml/libxml2.inc
+++ b/meta/packages/libxml/libxml2.inc
@@ -19,7 +19,13 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
19inherit autotools pkgconfig binconfig 19inherit autotools pkgconfig binconfig
20 20
21EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" 21EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
22EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n" 22EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-debug --without-legacy --with-catalog --without-docbook --with-c14n"
23
24# required for pythong binding
25export HOST_SYS
26export BUILD_SYS
27export STAGING_LIBDIR
28export STAGING_INCDIR
23 29
24export LDFLAGS += "-ldl" 30export LDFLAGS += "-ldl"
25 31
diff --git a/meta/packages/libxml/libxml2_2.7.7.bb b/meta/packages/libxml/libxml2_2.7.7.bb
index 7e017c6ee3..deb28b3954 100644
--- a/meta/packages/libxml/libxml2_2.7.7.bb
+++ b/meta/packages/libxml/libxml2_2.7.7.bb
@@ -1,3 +1,3 @@
1require libxml2.inc 1require libxml2.inc
2 2
3PR = "r0" 3PR = "r1"