From: Gustavo Zacarias Date: Fri, 4 Dec 2015 17:01:39 +0000 (-0300) Subject: gnutls: needs argp-standalone for musl/uclibc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6e90c7017b39418da24bfa2177444b0f9d4596d;p=buildroot.git gnutls: needs argp-standalone for musl/uclibc It's required for crywrap (tools), fixes: http://autobuild.buildroot.net/results/2d9/2d98fced7ff7c3b5c39a97eb1c8db7dd651fa86c/ Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in index dde23cec7a..998e213c7d 100644 --- a/package/gnutls/Config.in +++ b/package/gnutls/Config.in @@ -14,6 +14,8 @@ if BR2_PACKAGE_GNUTLS config BR2_PACKAGE_GNUTLS_TOOLS bool "install tools" + select BR2_PACKAGE_ARGP_STANDALONE \ + if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL help Install GnuTLS command line tools for various cryptographic tasks. diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 3b9fc7fca7..a7342d604c 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -44,6 +44,12 @@ ifeq ($(BR2_PACKAGE_GNUTLS_TOOLS),) GNUTLS_CONF_OPTS += --disable-crywrap endif +# Prerequisite for crywrap +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +GNUTLS_CONF_ENV += LIBS="-largp" +GNUTLS_DEPENDENCIES += argp-standalone +endif + # libidn support for nommu must exclude the crywrap wrapper (uses fork) GNUTLS_CONF_OPTS += $(if $(BR2_USE_MMU),,--disable-crywrap)