From a4bd828eff402f94943579193a0acbd409dcec1a Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 3 May 2017 00:57:51 +0200 Subject: [PATCH] gnutls.pc: hardcode -lunistring -liconv fix https://github.com/mxe/mxe/issues/1753 --- src/gnutls-1-fixes.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/gnutls-1-fixes.patch b/src/gnutls-1-fixes.patch index ea3fc940..239525c6 100644 --- a/src/gnutls-1-fixes.patch +++ b/src/gnutls-1-fixes.patch @@ -49,3 +49,23 @@ index 1111111..2222222 100644 #endif /*- + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Boris Nagaev +Date: Tue, 2 May 2017 23:52:16 +0200 +Subject: [PATCH] gnutls.pc: hardcode -lunistring -liconv + +See https://github.com/mxe/mxe/issues/1753#issuecomment-298772548 + +diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in +index 1111111..2222222 100644 +--- a/lib/gnutls.pc.in ++++ b/lib/gnutls.pc.in +@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system + URL: http://www.gnutls.org/ + Version: @VERSION@ + Libs: -L${libdir} -lgnutls +-Libs.private: @LIBZ_PC@ @LIBINTL@ @LIBSOCKET@ @LIBNSL@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ @LIBUNISTRING@ @LIBIDN2_LIBS@ -lcrypt32 ++Libs.private: @LIBZ_PC@ @LIBINTL@ @LIBSOCKET@ @LIBNSL@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ -lunistring -liconv @LIBIDN2_LIBS@ -lcrypt32 + @GNUTLS_REQUIRES_PRIVATE@ + Cflags: -I${includedir}