summaryrefslogtreecommitdiff
path: root/recipes/libxml2.recipe
diff options
context:
space:
mode:
authorVincenzo Bono <vincenzo.bono@gmail.com>2018-07-10 10:35:59 -0700
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-07-10 14:03:51 -0400
commit0cfdbd24c8f0af5731ad4b35600ddec55de0eda3 (patch)
tree36cf5b902476c3f20300a6940ea61abd39a05b6c /recipes/libxml2.recipe
parent31d4ab565ab59a2af0f3efaee2e4d3cb7498b56d (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
Diffstat (limited to 'recipes/libxml2.recipe')
-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'