[PATCH 12/73] gnutls: Link with libargp on musl and depend on argp-standalone

Khem Raj
2016-01-17T11:37:10Z

meta/recipes-support/gnutls/gnutls.inc | 2 ++
1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index c1ec120..5bcfc9c 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -2,6 +2,7 @@ SUMMARY = "GNU Transport Layer Security Library"
HOMEPAGE = "http://www.gnu.org/software/gnutls/"
BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
DEPENDS = "nettle libidn"
+DEPENDS_append_libc-musl = " argp-standalone "

LICENSE = "GPLv3+ & LGPLv2.1+"
LICENSE_${PN} = "LGPLv2.1+"
@@ -28,6 +29,7 @@ EXTRA_OECONF="--disable-rpath \
--without-p11-kit \
--enable-openssl-compatibility \
"
+LDFLAGS_append_libc-musl = " -largp "

do_configure_prepend() {
for dir in . lib; do
--
2.7.0