summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 2149282f61..6487953284 100755
--- a/configure
+++ b/configure
@@ -2097,11 +2097,11 @@ int main(void) {
}
EOF
_iconv=no
- if cc_check -lm -liconv ; then
+ if cc_check -lm ; then
+ _iconv=yes
+ elif cc_check -lm -liconv ; then
_iconv=yes
_ld_iconv='-liconv'
- else
- cc_check -lm && _iconv=yes
fi
fi
if test "$_iconv" = yes ; then