Skip to contentSkip to conversation

gnutls: make crywrap a tools option

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/gnutls/gnutls.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/gnutls/gnutls.mk +5 -0
index 3089979..43ec977 100644
@@ -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)
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 gnutls: make crywrap a tools option

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> crywrap now needs wchar support so just build it when tools are enabled. Gustavo> It's also a tool so it belongs there anyway.

Gustavo> Fixes:
Gustavo> http://autobuild.buildroot.net/results/418/418ce71eecc1db725e3b3f092131a01cb1666a60/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard