]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnutls: Link with libargp on musl and depend on argp-standalone
authorKhem Raj <raj.khem@gmail.com>
Thu, 17 Dec 2015 08:53:21 +0000 (08:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:46 +0000 (23:42 +0000)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-support/gnutls/gnutls.inc

index c1ec1207df9f178110f98adca0af4be129f4cf25..5bcfc9c691ba290a9115cf165064ddad60771a72 100644 (file)
@@ -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