diff options
author | Olivier Crête <olivier.crete@collabora.com> | 2016-07-06 10:01:16 -0400 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-10-20 12:45:24 +0300 |
commit | 9afc668526196f46486f6dec628c556322476d1d (patch) | |
tree | b2cbd1b958d0302188cdca17fe30c59f38a5cbce | |
parent | 16ccfa86c78c59f04a4f4d9f49ecf9c2ac7fffb1 (diff) |
zlib: Use host if provided
https://bugzilla.gnome.org/show_bug.cgi?id=768493
-rw-r--r-- | recipes/zlib.recipe | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe index 8900c837..904760e3 100644 --- a/recipes/zlib.recipe +++ b/recipes/zlib.recipe @@ -34,6 +34,8 @@ 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 def post_install(self): libtool_la = LibtoolLibrary('z', 1, 2, 8, self.config.libdir, |