Fixed test for libiconv
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jan 2011 15:02:11 -0800
changeset 5040 ff8873816c30
parent 5039 fc26fb7e20af
child 5041 3ce345cc46f8
Fixed test for libiconv
configure.in
--- a/configure.in	Wed Jan 19 13:50:53 2011 -0800
+++ b/configure.in	Wed Jan 19 15:02:11 2011 -0800
@@ -240,7 +240,7 @@
     AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
     AC_CHECK_FUNCS(atan atan2 ceil copysign cos cosf fabs floor log pow scalbn sin sinf sqrt)
 
-    AC_CHECK_LIB(iconv, libiconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
+    AC_CHECK_LIB(iconv, iconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
     AC_CHECK_FUNCS(iconv)
 fi