[Buildroot] [git commit master 1/1] host-python: enable expat support

Peter Korsgaard jacmet at sunsite.dk
Thu Jan 27 22:38:48 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=5a7192b25349e3e046ccadc1926062ffbf69cc9f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Some packages (like libxcb) need xml support in host-python in order to
build (.py file tries to import xml.etree.cElementTree).

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/python/python.mk |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/package/python/python.mk b/package/python/python.mk
index 4b80538..c2839b7 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -18,7 +18,7 @@ HOST_PYTHON_CONF_OPT += 	\
 	--without-cxx-main 	\
 	--disable-sqlite3	\
 	--disable-tk		\
-	--with-expat=none	\
+	--with-expat=system	\
 	--disable-curses	\
 	--disable-codecs-cjk	\
 	--disable-nis		\
@@ -39,6 +39,8 @@ HOST_PYTHON_AUTORECONF = YES
 
 PYTHON_DEPENDENCIES  = host-python libffi
 
+HOST_PYTHON_DEPENDENCIES = host-expat
+
 PYTHON_INSTALL_STAGING = YES
 
 ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y)
-- 
1.7.3.4



More information about the buildroot mailing list