summaryrefslogtreecommitdiffstats
path: root/rules/samba.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-06-09 23:11:42 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-06-09 23:11:42 +0000
commite7e42350a5f83f426ca3986a9ec90fb2ce796ea8 (patch)
tree41b65e9a29ebea8af2485ee25588b9c2539b6da8 /rules/samba.make
parent7595a886825031bc18750e9f3bcda9138164c361 (diff)
downloadptxdist-e7e42350a5f83f426ca3986a9ec90fb2ce796ea8.tar.gz
ptxdist-e7e42350a5f83f426ca3986a9ec90fb2ce796ea8.tar.xz
iconv: rework iconv handling in ptxdist
libiconv provides functionality that is already provided by glibc. So we consolidate ptxdist to use native glibc iconv instead of libiconv support. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10681 33e552b5-05e3-0310-8538-816dae2090ed
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)