view src/gsoap-4-gpg-error.patch @ 1169:9ca7f1fa7c9b

improvements for package gsoap Don't insist on gnutls in native build. Do insist on gnutls in MinGW build. Switch to winsock2, since gnu tls requires it. Add missing -lgpg-error.
author Mark Brand <mabrand@mabrand.nl>
date Mon, 20 Sep 2010 12:00:00 +0200
parents
children
line wrap: on
line source

This file is part of mingw-cross-env.
See doc/index.html for further information.

This patch has been taken from:
http://sourceforge.net/tracker/?func=detail&aid=3071775&group_id=52781&atid=468023

diff -urN a/configure.in b/configure.in
--- a/configure.in	2010-09-19 01:19:25.000000000 +0200
+++ b/configure.in	2010-09-20 11:41:01.573680715 +0200
@@ -167,8 +167,8 @@
   if test "x$with_gnutls" = "xyes"; then
     AC_MSG_RESULT(yes)
     WSDL2H_EXTRA_FLAGS="-DWITH_GNUTLS -DWITH_GZIP"
-    WSDL2H_EXTRA_LIBS="-lgnutls -lgcrypt -lz"
-    SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lz"
+    WSDL2H_EXTRA_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
+    SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
     WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
   else
     AC_MSG_RESULT(no)