Commit 525abdab authored by Rafaël Carré's avatar Rafaël Carré

contrib: fix gnutls.pc on win32

parent c1cdd915
......@@ -18,3 +18,14 @@
libc_hidden_def (gai_strerror)
#endif
--- gnutls/lib/gnutls.pc.in.orig 2011-11-26 14:40:52.343740836 -0500
+++ gnutls/lib/gnutls.pc.in 2011-11-26 14:41:49.456024042 -0500
@@ -19,7 +19,7 @@
Description: Transport Security Layer implementation for the GNU system
URL: http://www.gnu.org/software/gnutls/
Version: @VERSION@
-Libs: -L${libdir} -lgnutls
+Libs: -L${libdir} -lgnutls -lws2_32 -lcrypt32 @LTLIBINTL@
Libs.private: @LTLIBGCRYPT@ @NETTLE_LIBS@
@GNUTLS_REQUIRES_PRIVATE@
Cflags: -I${includedir}
......@@ -15,7 +15,9 @@ $(TARBALLS)/gnutls-$(GNUTLS_VERSION).tar.bz2:
gnutls: gnutls-$(GNUTLS_VERSION).tar.bz2 .sum-gnutls
$(UNPACK)
ifdef HAVE_WIN32
$(APPLY) $(SRC)/gnutls/gnutls-win32.patch
endif
$(APPLY) $(SRC)/gnutls/gnutls-no-egd.patch
$(MOVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment