summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <olivier.crete@collabora.com>2016-07-06 11:20:58 -0400
committerSebastian Dröge <sebastian@centricular.com>2016-10-20 12:45:24 +0300
commit16ccfa86c78c59f04a4f4d9f49ecf9c2ac7fffb1 (patch)
tree1ca2706a2d7bc9a09ea3287c08045ea68c529a14
parent1dc1b3ccbbb24948c6e74e86ec05ffae1a89f6d5 (diff)
theora: Disable examples when cross-compiling
https://bugzilla.gnome.org/show_bug.cgi?id=768493
-rw-r--r--recipes/libtheora.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libtheora.recipe b/recipes/libtheora.recipe
index b6f92b11..fa3272fc 100644
--- a/recipes/libtheora.recipe
+++ b/recipes/libtheora.recipe
@@ -30,5 +30,5 @@ class Recipe(recipe.Recipe):
self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
elif self.config.target_platform == Platform.DARWIN:
self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
- elif self.config.target_arch != self.config.arch:
+ elif self.config.cross_compiling():
self.configure_options += ' --disable-examples'