diff options
author | Mark Brand <mabrand@mabrand.nl> | 2015-06-18 21:09:57 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2015-06-18 21:30:39 (GMT) |
commit | 0604c164a91b02db1616a56bbef6bec37b5b7566 (patch) | |
tree | 3839f2a65726c1ec626ac297b675adac11cf1ec9 /src/gsoap.mk | |
parent | 321ca74740ecccfed739a5c9784f626631368d30 (diff) | |
download | mxe-0604c164a91b02db1616a56bbef6bec37b5b7566.zip mxe-0604c164a91b02db1616a56bbef6bec37b5b7566.tar.gz mxe-0604c164a91b02db1616a56bbef6bec37b5b7566.tar.bz2 |
gsoap: use openssl instead of gnutls
Gsoap uses deprecated gnutls calls that have been removed
in gnutls 3.4. To keep SSL support in gsoap, let's switch
to openssl.
Diffstat (limited to 'src/gsoap.mk')
-rw-r--r-- | src/gsoap.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gsoap.mk b/src/gsoap.mk index bd7015f..1ff90a2 100644 --- a/src/gsoap.mk +++ b/src/gsoap.mk @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := e66bbdeaa6b5bdcb11de5141e1f17343a023c5c4 $(PKG)_SUBDIR := gsoap-$(call SHORT_PKG_VERSION,$(PKG)) $(PKG)_FILE := gsoap_$($(PKG)_VERSION).zip $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gsoap2/gSOAP/$($(PKG)_FILE) -$(PKG)_DEPS := gcc gnutls libgcrypt libntlm +$(PKG)_DEPS := gcc libgcrypt libntlm openssl define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/gsoap2/files/gSOAP/' | \ @@ -37,6 +37,9 @@ define $(PKG)_BUILD $(SED) -i "s/-lgnutls/`'$(TARGET)-pkg-config' --libs-only-l gnutls`/g;" '$(1)/configure' $(SED) -i "s^-lgpg-error^`'$(TARGET)-gpg-error-config' --libs`^g;" '$(1)/configure' + # fix hard-coded openssl dependencies + $(SED) -i "s^-lssl -lcrypto^`'$(TARGET)-pkg-config' --libs-only-l openssl`^g;" '$(1)/configure' + # the cross build will need soapcpp2, not soapcpp2.exe $(SED) -i "s,^\(SOAP = \$$(top_builddir)/gsoap/src/soapcpp2\)\$$(EXEEXT)$$,\1,;" '$(1)/gsoap/wsdl/Makefile.in' @@ -47,7 +50,6 @@ define $(PKG)_BUILD --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ --build="`config.guess`" \ - --enable-gnutls \ CPPFLAGS='-DWITH_NTLM -DSOAP_SSLv3=0x40' # Building for mingw requires native soapcpp2 |