summaryrefslogtreecommitdiff
path: root/recipes/libiconv.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libiconv.recipe')
-rw-r--r--recipes/libiconv.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/libiconv.recipe b/recipes/libiconv.recipe
index 65afceab..05d993a0 100644
--- a/recipes/libiconv.recipe
+++ b/recipes/libiconv.recipe
@@ -26,3 +26,5 @@ class Recipe(recipe.Recipe):
def prepare(self):
if self.config.target_platform != Platform.LINUX:
self.runtime_dep = True
+ if self.config.target_platform == Platform.IOS:
+ self.append_env['CFLAGS'] = '-Dlocale_charset=iconv_locale_charset'