samba: only require libiconv if !BR2_ENABLE_LOCALE

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-05-15 16:42:02 +02:00
parent a4051d9db8
commit 0317b30912
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
config BR2_PACKAGE_SAMBA
bool "samba"
select BR2_PACKAGE_LIBICONV
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Provides print services to all manner of SMB/CIFS clients,
including the numerous versions of Microsoft Windows

View File

@ -16,7 +16,7 @@ SAMBA_INSTALL_TARGET = YES
SAMBA_DEPENDENCIES = \
libiconv \
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
$(if $(BR2_PACKAGE_SAMBA_RPCCLIENT),readline) \
$(if $(BR2_PACKAGE_SAMBA_SMBCLIENT),readline) \
$(if $(BR2_PACKAGE_SAMBA_AVAHI),avahi) \