From: Thomas Petazzoni Date: Sat, 15 May 2010 14:42:02 +0000 (+0200) Subject: samba: only require libiconv if !BR2_ENABLE_LOCALE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0317b30912eb73bc512b137b1581ff520b14c40a;p=buildroot.git samba: only require libiconv if !BR2_ENABLE_LOCALE Signed-off-by: Thomas Petazzoni --- diff --git a/package/samba/Config.in b/package/samba/Config.in index 720ecd7953..a7a0b34df3 100644 --- a/package/samba/Config.in +++ b/package/samba/Config.in @@ -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 diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 411536302b..39968a9cb0 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -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) \