Commit 2fae2648 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

iconv: disallow selection when BR2_ENABLE_LOCALE is enabled



A C library compiled with locale support already has an iconv()
implementation. In that case, libiconv is useless. Therefore, disallow
the selection of libiconv when the configuration says that the
toolchain has locale support.

This fixes build issues similar to the one we had with gettext:
libiconv headers are installed, but -liconv is not added because the
./configure script detects that the C library supports iconv.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent fad3b5a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBICONV
	bool "libiconv"
	depends on !BR2_ENABLE_LOCALE
	help
	  unicode conversion library