summaryrefslogtreecommitdiff
path: root/recipes/taglib.recipe
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-17 21:35:47 +0100
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-17 21:35:55 +0100
commita15ee231c7319fbedbd7ffab6ebd1784fcdbcbb4 (patch)
treeac40fc1770e5c4f710c7e13082ec6f0acd3273a0 /recipes/taglib.recipe
parent43212e8915e87a32539e6b8d97f268c55e8cd7ad (diff)
taglib.recipe: Only set -DWIN32=1 configure option if building on windows.
Diffstat (limited to 'recipes/taglib.recipe')
-rw-r--r--recipes/taglib.recipe6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/taglib.recipe b/recipes/taglib.recipe
index 43c51dd5..e765adcf 100644
--- a/recipes/taglib.recipe
+++ b/recipes/taglib.recipe
@@ -5,8 +5,12 @@ class Recipe(recipe.Recipe):
name = 'taglib'
version = '1.7'
license = 'LGPL'
- configure_options = '-DWITH_MP4=ON -DWITH_ASF=ON -DWIN32=1 '
+ configure_options = '-DWITH_MP4=ON -DWITH_ASF=ON'
btype = BuildType.CMAKE
files_libs = ['libtag', 'libtag_c']
files_devel = ['include/taglib', 'lib/pkgconfig/taglib.pc', 'lib/pkgconfig/taglib_c.pc']
+
+ def prepare(self):
+ if self.config.target_platform == Platform.WINDOWS:
+ self.configure_options += ' -DWIN32=1'