aboutsummaryrefslogtreecommitdiff
path: root/scripts/genconfig.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-04-23 08:38:29 -0500
committerRob Landley <rob@landley.net>2014-04-23 08:38:29 -0500
commit5fe77cf9ed586a84c5ccd289154d0b543d2b4949 (patch)
tree6f7d748d6a48271e86f9f0e06bc63b9fd7f42d3a /scripts/genconfig.sh
parent3297e87c2ab798696b0fb3d06904dccea076b77a (diff)
downloadtoybox-5fe77cf9ed586a84c5ccd289154d0b543d2b4949.tar.gz
As long as uClibc's still around and requires you to jump through hoops to get iconv(), probe and build defconfig without it if it's not there.
Diffstat (limited to 'scripts/genconfig.sh')
-rwxr-xr-xscripts/genconfig.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index 41f1a173..4425328d 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -34,6 +34,11 @@ EOF
#error nope
#endif
EOF
+
+ # Hard to come by in uClibc.
+ probesymbol TOYBOX_ICONV -c << EOF
+ #include "iconv.h"
+EOF
}
genconfig()