summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-06 16:45:57 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:10 +0100
commit8c14e13415be9b6d79ea021b336166ff75138f03 (patch)
tree52bd6765043d2e2719753265bfff9a0cba4ddfe8 /recipes
parent761b4562741f43b3e2ba4796b000c595abac4653 (diff)
gettext: fix setting configure options for windows
Diffstat (limited to 'recipes')
-rw-r--r--recipes/gettext.recipe4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/gettext.recipe b/recipes/gettext.recipe
index fb572d56..e4fc648a 100644
--- a/recipes/gettext.recipe
+++ b/recipes/gettext.recipe
@@ -7,5 +7,5 @@ class Recipe(recipe.Recipe):
srcdir = 'gettext-runtime'
def prepare (self):
- if self.config.platform == Platform.WINDOWS:
- self.build.configure_options = '--enable-threads=win32'
+ if self.config.target_platform == Platform.WINDOWS:
+ self.configure_options += '--enable-threads=win32'