summaryrefslogtreecommitdiffstats
path: root/rules/samba.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/samba.make')
-rw-r--r--rules/samba.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/samba.make b/rules/samba.make
index a37d8184d..28e52f602 100644
--- a/rules/samba.make
+++ b/rules/samba.make
@@ -69,6 +69,12 @@ ifdef PTXCONF_SAMBA_SMBFS
SAMBA_AUTOCONF += --with-smbmount
endif
+ifdef PTXCONF_ICONV
+SAMBA_AUTOCONF += --with-libiconv=yes
+else
+SAMBA_AUTOCONF += --without-libiconv
+endif
+
$(STATEDIR)/samba.prepare:
@$(call targetinfo)
@$(call clean, $(SAMBA_DIR)/config.cache)