summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-10 22:35:50 (GMT)
committerAlexey Neyman <stilor@att.net>2018-02-10 22:51:45 (GMT)
commita20c29dcefe8c3319ae7163935a2d89ac2e1de32 (patch)
tree7686fc3eebf14b3a65348b0644f198964face481 /config/libc
parent89fdeb9af2677169bea5bde8a2ce4d2411b35697 (diff)
Make libiconv an option in the menu config
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/uClibc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in
index ba1178c..7bdd03f 100644
--- a/config/libc/uClibc.in
+++ b/config/libc/uClibc.in
@@ -25,6 +25,10 @@ config LIBC_UCLIBC_HAS_SUNRPC
bool
default y if !UCLIBC_1_0_23_or_later
+config LIBC_UCLIBC_HAS_LIBICONV
+ bool
+ default y if UCLIBC_1_0_21_or_later
+
config LIBC_UCLIBC_PARALLEL
def_bool y
depends on UCLIBC_0_9_33_2_or_later
@@ -154,12 +158,19 @@ config LIBC_UCLIBC_LNXTHRD
config LIBC_UCLIBC_LOCALES
bool
select LIBC_UCLIBC_WCHAR
+ # Before it became a separate option, libiconv depended on locales
prompt "Add support for locales"
help
Say y if you want uClibc to support localisation.
Note that seems to be broken on recent uClibc releases.
+config LIBC_UCLIBC_LIBICONV
+ bool "Enable iconv"
+ depends on LIBC_UCLIBC_HAS_LIBICONV
+ help
+ Say y if you want to enable <iconv.h> and the corresponding interfaces.
+
config LIBC_UCLIBC_IPV6
bool
prompt "Add support for IPv6"