summaryrefslogtreecommitdiffstats
path: root/package/gnutls/gnutls.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-12-04 14:01:39 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-12-04 21:38:03 +0100
commite6e90c7017b39418da24bfa2177444b0f9d4596d (patch)
treef914f2147d39669986302b4fc23b544425d0c8be /package/gnutls/gnutls.mk
parenta3e53aca96153f74f0718818b5a270e8f889d23f (diff)
downloadbuildroot-e6e90c7017b39418da24bfa2177444b0f9d4596d.tar.gz
buildroot-e6e90c7017b39418da24bfa2177444b0f9d4596d.zip
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 <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gnutls/gnutls.mk')
-rw-r--r--package/gnutls/gnutls.mk6
1 files changed, 6 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud