summaryrefslogtreecommitdiff
path: root/recipes/zlib.recipe
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2013-01-21 11:19:29 -0300
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-22 22:22:39 +0100
commit5dbecff03922ef0ee326e8a8dbc5dc1b313a1459 (patch)
tree3b0706e7888299dce607c233e8230beb7a1ce153 /recipes/zlib.recipe
parent8a153a3d8057a9c316e3b159b512f34efcbbffa8 (diff)
Add support to iOS
Diffstat (limited to 'recipes/zlib.recipe')
-rw-r--r--recipes/zlib.recipe7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe
index a418d279..24e61ec3 100644
--- a/recipes/zlib.recipe
+++ b/recipes/zlib.recipe
@@ -28,3 +28,10 @@ class Recipe(recipe.Recipe):
libtool_la = LibtoolLibrary('z', 1, 2, 7, self.config.libdir,
self.config.target_platform)
libtool_la.save()
+ # FIXME This is to workaround a build issue trying to ld to libz.so
+ if self.config.target_platform == Platform.IOS:
+ try:
+ os.symlink(os.path.join (self.config.prefix, 'lib', 'libz.dylib'),
+ os.path.join (self.config.prefix, 'lib', 'libz.so'))
+ except OSError:
+ pass