[Mono-dev] eglib libiconv check

Geoff Norton gnorton at novell.com
Sun Apr 25 10:52:42 EDT 2010


Andres,

   Oops. Looks fine please commit

Sent from my iPhone

On 2010-04-25, at 10:42 AM, Andreas Färber <andreas.faerber at web.de>  
wrote:

> Hello Geoff,
>
> In r156018 you changed the -liconv check. In GNU libiconv, the  
> symbol is in fact libiconv_open (to distinguish from glibc's  
> version), so linking is now broken.
>
> The following patch re-adds the old check and helps on Haiku, could  
> you please check on your side?
>
> diff --git a/eglib/configure.ac b/eglib/configure.ac
> index d7c5d14..3014d26 100644
> --- a/eglib/configure.ac
> +++ b/eglib/configure.ac
> @@ -70,6 +70,7 @@ AC_CHECK_SIZEOF(int)
> AC_CHECK_SIZEOF(void *)
> AC_CHECK_FUNCS(strndup strlcpy getpwent_r strtok_r rewinddir)
> AC_CHECK_LIB(iconv, iconv_open, LIBS="$LIBS -liconv")
> +AC_CHECK_LIB(iconv, libiconv_open, LIBS="$LIBS -liconv")
> AC_SEARCH_LIBS(sqrtf, m)
> AC_SEARCH_LIBS(dlopen, dl)
> old_ldflags="${LDFLAGS}"
>
> Thanks,
>
> Andreas
>


More information about the Mono-devel-list mailing list