summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-26 11:53:56 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-26 11:53:56 +0200
commit73f41b525516036f8aed2120e89300728f386aa9 (patch)
tree5247a0868f5307a8803d68a2f1049f82706139e8
parent6c14205591f9d20547939731e1ba91fb8c1dbffe (diff)
bzip2: only create the link on Linux and Android
-rw-r--r--recipes/bzip2.recipe2
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):