summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-06-05 04:58:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-05 23:06:44 +0200
commit235b676a6670bfedc41a43543e0d34bc4dd85854 (patch)
treefcf0fff17be2ca720e47a64691412ba3e08f9ee7 /package
parent82d2a47478e436495e5fe3cd5aff308fe3f212d4 (diff)
downloadbuildroot-novena-235b676a6670bfedc41a43543e0d34bc4dd85854.tar.gz
buildroot-novena-235b676a6670bfedc41a43543e0d34bc4dd85854.zip
gnutls: make crywrap a tools option
crywrap now needs wchar support so just build it when tools are enabled. It's also a tool so it belongs there anyway. Fixes: http://autobuild.buildroot.net/results/418/418ce71eecc1db725e3b3f092131a01cb1666a60/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/gnutls/gnutls.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 3089979a0..43ec9777d 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -37,6 +37,11 @@ GNUTLS_CONF_OPT += --with-regex-header=pcreposix.h \
--with-libregex-cflags="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --cflags`" \
--with-libregex-libs="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --libs`"
+# Consider crywrap as part of tools because it needs WCHAR, and it's so too
+ifeq ($(BR2_PACKAGE_GNUTLS_TOOLS),)
+ GNUTLS_CONF_OPT += --disable-crywrap
+endif
+
# libidn support for nommu must exclude the crywrap wrapper (uses fork)
GNUTLS_CONF_OPT += $(if $(BR2_USE_MMU),,--disable-crywrap)
GNUTLS_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBIDN),libidn)