Tue 17 Mar 2015 11:17:34 AM UTC, original submission:
I'm trying to create a portable binary on Solaris (Sparc Solaris 10).
I tried to configure with
./configure --disable-nls --without-ssl --enable-ipv6 --without-zlib --without-libiconv-prefix
But I end up with libiconv included:
checking for sys/time.h... (cached) yes
checking for iconv.h... yes
checking for langinfo.h... yes
...
checking whether gettimeofday is declared without a macro... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * inbuf, size_t inbytesleft, char * outbuf, size_t outbytesleft);
checking for wint_t... yes
ldd wget:
...
libiconv.so.2 => /opt/csw/lib/libiconv.so.2
...
I "got rid" of libiconv when using the following flags though:
/configure --disable-nls --without-ssl --enable-ipv6 --without-zlib --without-libiconv-prefix --without-libuuid --without-libpsl --disable-iri --disable-pcre --without-libintl-prefix
Maybe one of the dependencies (libintl?) pulls the dependency on libiconv, but it's weird to see libiconv being used despite attempts to disable it.
|