diff options
author | Edward Hervey <edward@centricular.com> | 2016-10-26 16:46:34 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2016-10-26 16:47:00 +0200 |
commit | 528c8cdb14021668291ca4417ab4fbd0709dc46d (patch) | |
tree | f4bdb238551bfbaebd76005559b0d64603571cee | |
parent | 02dc489ca85046275637fdd594b69dffe94dca59 (diff) |
recipes/zlib: Only adjust uname option on linux
Causes issues on osx/ios
-rw-r--r-- | recipes/zlib.recipe | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe index 904760e3..7ff85949 100644 --- a/recipes/zlib.recipe +++ b/recipes/zlib.recipe @@ -34,8 +34,9 @@ class Recipe(recipe.Recipe): self.configure_options += " --uname=x86_64-linux-android " else: self.configure_options += " --uname=arm-linux-androideabi " - elif self.config.cross_compiling() and self.config.host: - self.configure_options += " --uname=" + self.config.host + elif self.config.target_platform == Platform.LINUX: + if self.config.cross_compiling() and self.config.host: + self.configure_options += " --uname=" + self.config.host def post_install(self): libtool_la = LibtoolLibrary('z', 1, 2, 8, self.config.libdir, |