diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2013-01-21 11:19:29 -0300 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-02-22 22:22:39 +0100 |
commit | 5dbecff03922ef0ee326e8a8dbc5dc1b313a1459 (patch) | |
tree | 3b0706e7888299dce607c233e8230beb7a1ce153 /recipes/libffi.recipe | |
parent | 8a153a3d8057a9c316e3b159b512f34efcbbffa8 (diff) |
Add support to iOS
Diffstat (limited to 'recipes/libffi.recipe')
-rw-r--r-- | recipes/libffi.recipe | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/libffi.recipe b/recipes/libffi.recipe index f47d445a..1a733be9 100644 --- a/recipes/libffi.recipe +++ b/recipes/libffi.recipe @@ -11,13 +11,16 @@ class Recipe(recipe.Recipe): files_devel = ['lib/libffi-3.0.11', 'lib/pkgconfig/libffi.pc'] def prepare(self): - if self.config.target_platform == Platform.DARWIN: + if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: + self.autoreconf = False if self.config.target_arch == Architecture.X86_64: dir = 'x86_64-apple-darwin*' elif self.config.target_arch == Architecture.X86: dir = 'i386-apple-darwin*' elif self.config.target_arch == Architecture.PPC: dir = 'powerpc-apple-darwin*' + elif self.config.target_arch == Architecture.ARMv7: + dir = 'arm-apple-darwin*' self.make = 'make -C %s' % dir self.make_install = 'make -C %s install' % dir |