summaryrefslogtreecommitdiff
path: root/config/companion_libs.in
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2015-10-24 00:49:56 (GMT)
committerRay Donnelly <mingw.android@gmail.com>2015-11-13 02:17:45 (GMT)
commit9e81836b8124efd11805e8050034492a8831208b (patch)
tree35677ac92a2a793a229659c548cd540628f0e317 /config/companion_libs.in
parentf9968501eeacbe6c289c93d87243473d78eb8d5c (diff)
Add gettext and libiconv as companion libs
.. they're needed for the RPC generation in glibc on both Cygwin and MinGW-w64. Neither are built on GNU/Linux and iconv is not built on Darwin. Two patches for gettext are needed, one so that -O0 works and one so that static builds can be made. They can take a good while to build, so if not needed for_host or for_build then they are not built. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r--config/companion_libs.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in
index c48fc82..0b0177c 100644
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -7,6 +7,17 @@ menu "Companion libraries"
config COMPLIBS_NEEDED
bool
+config LIBICONV_NEEDED
+ bool
+ select LIBICONV
+ select COMPLIBS_NEEDED
+
+config GETTEXT_NEEDED
+ bool
+ select GETTEXT
+ select LIBICONV_NEEDED
+ select COMPLIBS_NEEDED
+
config GMP_NEEDED
bool
select GMP
@@ -45,6 +56,14 @@ config LIBELF_NEEDED
config COMPLIBS
bool
+config LIBICONV
+ bool
+ select COMPLIBS
+
+config GETTEXT
+ bool
+ select COMPLIBS
+
config GMP
bool
select COMPLIBS
@@ -82,6 +101,12 @@ config LIBELF
config LIBELF_TARGET
bool
+if LIBICONV
+source "config/companion_libs/libiconv.in"
+endif
+if GETTEXT
+source "config/companion_libs/gettext.in"
+endif
if GMP
source "config/companion_libs/gmp.in"
endif