[PATCH 18/73] gnutls: Link with libuargp on uclibc

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

uclibc has its own implementation for libargp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/gnutls/gnutls.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 5bcfc9c..90597db 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -1,7 +1,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 = "nettle libidn virtual/libiconv"
DEPENDS_append_libc-musl = " argp-standalone "

LICENSE = "GPLv3+ & LGPLv2.1+"
@@ -30,6 +30,7 @@ EXTRA_OECONF="--disable-rpath \
--enable-openssl-compatibility \
"
LDFLAGS_append_libc-musl = " -largp "
+LDFLAGS_append_libc-uclibc = " -luargp "

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