summaryrefslogtreecommitdiff
path: root/recipes/libjpeg-turbo.recipe
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-22 12:26:13 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-09-22 12:26:13 +0300
commita8fa88998d8706f9e53aef56364dfa6bb2edef04 (patch)
tree5d4ea405952918bbd20a3fbf77164caf94c62ba8 /recipes/libjpeg-turbo.recipe
parent65b8c229c3f52dcbe9cf9cb38d93d565f1986c70 (diff)
jpeg-turbo: Also don't use XCode's broken nasm on iOS and use our yasm
Diffstat (limited to 'recipes/libjpeg-turbo.recipe')
-rw-r--r--recipes/libjpeg-turbo.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libjpeg-turbo.recipe b/recipes/libjpeg-turbo.recipe
index 94b228df..bb1024c2 100644
--- a/recipes/libjpeg-turbo.recipe
+++ b/recipes/libjpeg-turbo.recipe
@@ -18,7 +18,7 @@ class Recipe(recipe.Recipe):
'include/jmorecfg.h','include/turbojpeg.h']
def prepare(self):
- if self.config.target_platform == Platform.DARWIN:
+ if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
# avoid using xcode's nasm (doesn't support nasm-like arguments)
# instead use cerbero's yasm
self.new_env['NASM'] = 'yasm'