summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincenzo Bono <vincenzo.bono@gmail.com>2018-07-10 10:35:59 -0700
committerSebastian Dröge <slomo@coaxion.net>2018-11-09 08:27:18 +0000
commitf2a9fef288f70be63e2ee0c48a05e0d6dc2c9d2c (patch)
tree9d7ed2363c974907aa129e98a51107cbe01da06c
parente7f310e0967d4d95f11bd62fa5aa5d93d34b20c3 (diff)
libxml2: Don't build Python support, even Linux
libxml2 Python support requires Python 2 develpment headers which we no longer install in bootstrap. This fixed build failure on latest Ubuntu 18.04 LTS. All other platforms already has this support disable. https://bugzilla.gnome.org/show_bug.cgi?id=796781
-rw-r--r--recipes/libxml2.recipe3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes/libxml2.recipe b/recipes/libxml2.recipe
index a74e90ab..4dc509a9 100644
--- a/recipes/libxml2.recipe
+++ b/recipes/libxml2.recipe
@@ -28,5 +28,4 @@ class Recipe(recipe.Recipe):
elif self.config.target_platform == Platform.IOS:
self.configure_options = '--with-python=no'
elif self.config.target_platform == Platform.LINUX:
- if self.config.cross_compiling():
- self.configure_options = '--with-python=no'
+ self.configure_options = '--with-python=no'