diff options
author | Olivier Crête <olivier.crete@collabora.com> | 2016-07-06 11:20:11 -0400 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-10-20 12:45:24 +0300 |
commit | 1dc1b3ccbbb24948c6e74e86ec05ffae1a89f6d5 (patch) | |
tree | db607a1db85e52b78d7fced4e8c9e800e1424503 /recipes/libxml2.recipe | |
parent | e2595a0191cc7ea6c7b7366eca3c32963b12aee0 (diff) |
libxml2: Disable python when cross-compiling
It's not specific to arm, but pretty much for any non-native build as
cerbero doesn't include python.
https://bugzilla.gnome.org/show_bug.cgi?id=768493
Diffstat (limited to 'recipes/libxml2.recipe')
-rw-r--r-- | recipes/libxml2.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libxml2.recipe b/recipes/libxml2.recipe index dbcb02e1..59793541 100644 --- a/recipes/libxml2.recipe +++ b/recipes/libxml2.recipe @@ -28,5 +28,5 @@ 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 Architecture.is_arm(self.config.target_arch): + if self.config.cross_compiling(): self.configure_options = '--with-python=no' |