diff options
| author | Qing He <qing.he@intel.com> | 2010-08-12 13:59:29 +0800 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 15:10:12 +0100 |
| commit | cf1e754b3fee3c7ae907e7ae30233083d7892215 (patch) | |
| tree | bda80e7e109bc28cccc5fd9db3af11cfd231bd51 /meta/packages | |
| parent | bb175ec20897281969012e6336eb5bd188e297c6 (diff) | |
| download | poky-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')
| -rw-r--r-- | meta/packages/libxml/libxml2.inc | 8 | ||||
| -rw-r--r-- | meta/packages/libxml/libxml2_2.7.7.bb | 2 |
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 \ | |||
| 19 | inherit autotools pkgconfig binconfig | 19 | inherit autotools pkgconfig binconfig |
| 20 | 20 | ||
| 21 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" | 21 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" |
| 22 | EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_DIR_NATIVE}/${prefix} --without-debug --without-legacy --with-catalog --without-docbook --with-c14n" | 22 | EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-debug --without-legacy --with-catalog --without-docbook --with-c14n" |
| 23 | |||
| 24 | # required for pythong binding | ||
| 25 | export HOST_SYS | ||
| 26 | export BUILD_SYS | ||
| 27 | export STAGING_LIBDIR | ||
| 28 | export STAGING_INCDIR | ||
| 23 | 29 | ||
| 24 | export LDFLAGS += "-ldl" | 30 | export 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 @@ | |||
| 1 | require libxml2.inc | 1 | require libxml2.inc |
| 2 | 2 | ||
| 3 | PR = "r0" | 3 | PR = "r1" |
