diff options
-rw-r--r-- | recipes/gettext.recipe | 2 | ||||
-rw-r--r-- | recipes/libiconv.recipe | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes/gettext.recipe b/recipes/gettext.recipe index f5e11d0f..306f4656 100644 --- a/recipes/gettext.recipe +++ b/recipes/gettext.recipe @@ -26,3 +26,5 @@ class Recipe(recipe.Recipe): self.configure_options += ' --enable-threads=win32' if self.config.target_platform != Platform.LINUX: self.runtime_dep = True + if self.config.target_platform == Platform.IOS: + self.append_env['CFLAGS'] = '-Dlocale_charset=intl_locale_charset' 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' |