From 6a098ec9bdd075b29a412024648ea01ab0836a5f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 17 Jun 2022 16:14:29 -0500 Subject: [PATCH] Remove old uClibc test missed by commit 71921dc74d05. --- scripts/genconfig.sh | 5 ----- toys/posix/iconv.c | 1 - 2 files changed, 6 deletions(-) diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index fba33018..ee409619 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -33,11 +33,6 @@ probeconfig() int main(int argc, char *argv[]){printf("%d", x+SYS_unshare+ SYS_setns);} EOF - # Work around some uClibc limitations - probesymbol TOYBOX_ICONV -c << EOF - #include "iconv.h" -EOF - # Android and some other platforms miss utmpx probesymbol TOYBOX_UTMPX -c << EOF #include diff --git a/toys/posix/iconv.c b/toys/posix/iconv.c index d2721672..0674f3db 100644 --- a/toys/posix/iconv.c +++ b/toys/posix/iconv.c @@ -11,7 +11,6 @@ USE_ICONV(NEWTOY(iconv, "cst:f:", TOYFLAG_USR|TOYFLAG_BIN)) config ICONV bool "iconv" default y - depends on TOYBOX_ICONV help usage: iconv [-f FROM] [-t TO] [FILE...] -- 2.39.2