build: check that if we provide -liconv we can build shared libs
authorMatthieu Patou <mat@matws.net>
Sun, 31 Oct 2010 13:24:46 +0000 (16:24 +0300)
committerMatthieu Patou <mat@matws.net>
Sun, 31 Oct 2010 15:51:54 +0000 (18:51 +0300)
commit9f0fb0261ecdecb093ced28024a36973bf1938b9
tree62df03e045130aadb16d659f5e25c7db164401a6
parent97c0def79d123406b44289a131c054ebe863823d
build: check that if we provide -liconv we can build shared libs

On Solaris with sun studio compiling an executable with -liconv even if
there is no libiconv.so or libiconv.a will work but not for a shared
lib.

This problem leads to build problem as the linker won't be able to find
libiconv when building shared lib as liconv is wrongly specified
buildtools/wafsamba/samba_autoconf.py
lib/util/charset/wscript_configure