samba: only require libiconv if !BR2_ENABLE_LOCALE
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 May 2010 14:42:02 +0000 (16:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 May 2010 20:34:29 +0000 (22:34 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/samba/Config.in
package/samba/samba.mk

index 720ecd795384bfa54bb55e0ed377c8de6bc3238c..a7a0b34df3763b6f2e3b34df79ff55deb99ec5f7 100644 (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
index 411536302b1af268c1bdfcbebc63ad8a30dd337a..39968a9cb0a9ce3e51f20f4de979b2265d40c14d 100644 (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) \