diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-10-26 11:53:56 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-10-26 11:53:56 +0200 |
commit | 73f41b525516036f8aed2120e89300728f386aa9 (patch) | |
tree | 5247a0868f5307a8803d68a2f1049f82706139e8 /recipes/bzip2.recipe | |
parent | 6c14205591f9d20547939731e1ba91fb8c1dbffe (diff) |
bzip2: only create the link on Linux and Android
Diffstat (limited to 'recipes/bzip2.recipe')
-rw-r--r-- | recipes/bzip2.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/bzip2.recipe b/recipes/bzip2.recipe index 0f6e0b1d..fe8bf83f 100644 --- a/recipes/bzip2.recipe +++ b/recipes/bzip2.recipe @@ -29,7 +29,7 @@ class Recipe(recipe.Recipe): libtool_la = LibtoolLibrary('bz2', 1, 0, 6, self.config.libdir, self.config.target_platform) libtool_la.save() - if self.config.target_platform != Platform.WINDOWS: + if self.config.target_platform in [Platform.LINUX, Platform.ANDROID]: libdir = os.path.join(self.config.prefix, 'lib') libbz2 = os.path.join(libdir, 'libbz2.so') if os.path.exists (libbz2): |