2011-07-10 21:38:59 +02:00
|
|
|
From: Jan Engelhardt <jengelh@medozas.de>
|
|
|
|
Date: 2011-07-01 17:19:00 +0200
|
|
|
|
|
|
|
|
build: always use shared libraries
|
|
|
|
|
|
|
|
---
|
2017-12-08 22:36:32 +01:00
|
|
|
configure.ac | 10 +++++-----
|
|
|
|
gsoap/Makefile.am | 40 +++++++++++++++++++++++++++-------------
|
|
|
|
gsoap/gsoap++.sym | 1 +
|
|
|
|
gsoap/gsoap.sym | 1 +
|
|
|
|
gsoap/gsoapck++.sym | 1 +
|
|
|
|
gsoap/gsoapck.sym | 1 +
|
|
|
|
gsoap/gsoapckssl++.sym | 1 +
|
|
|
|
gsoap/gsoapckssl.sym | 1 +
|
|
|
|
gsoap/gsoapssl++.sym | 1 +
|
|
|
|
gsoap/gsoapssl.sym | 1 +
|
|
|
|
10 files changed, 40 insertions(+), 18 deletions(-)
|
2011-07-10 21:38:59 +02:00
|
|
|
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/configure.ac
|
2011-07-10 21:38:59 +02:00
|
|
|
===================================================================
|
2018-03-06 19:29:08 +01:00
|
|
|
--- gsoap-2.8.64.orig/configure.ac
|
|
|
|
+++ gsoap-2.8.64/configure.ac
|
2015-01-15 19:39:17 +01:00
|
|
|
@@ -15,8 +15,8 @@ AM_PROG_CC_C_O
|
2011-07-10 21:38:59 +02:00
|
|
|
AM_PROG_LEX
|
|
|
|
AC_PROG_YACC
|
|
|
|
AC_PROG_CPP
|
|
|
|
-AC_PROG_RANLIB
|
2013-02-28 23:51:41 +01:00
|
|
|
-#AM_PROG_LIBTOOL
|
2015-01-15 19:39:17 +01:00
|
|
|
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
2011-07-10 21:38:59 +02:00
|
|
|
+LT_INIT
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_AWK
|
|
|
|
AC_PROG_INSTALL
|
2018-03-06 19:29:08 +01:00
|
|
|
@@ -282,7 +282,7 @@ if test "x$with_openssl" = "xyes"; then
|
2015-01-15 19:39:17 +01:00
|
|
|
WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz"
|
|
|
|
SAMPLE_INCLUDES=
|
2011-07-10 21:38:59 +02:00
|
|
|
SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
|
|
|
|
- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
|
|
|
|
+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
2018-03-06 19:29:08 +01:00
|
|
|
AC_DEFINE([GSOAP_WITH_OPENSSL], [1])
|
|
|
|
@@ -292,7 +292,7 @@ if test "x$with_openssl" = "xyes"; then
|
2017-09-02 01:46:01 +02:00
|
|
|
WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lssl -lcrypto -lz"
|
2015-01-15 19:39:17 +01:00
|
|
|
SAMPLE_INCLUDES=
|
2011-07-10 21:38:59 +02:00
|
|
|
SAMPLE_SSL_LIBS="-lssl -lcrypto -lz"
|
|
|
|
- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
|
|
|
|
+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
|
|
|
|
fi
|
2016-09-27 02:05:04 +02:00
|
|
|
if test -n "$ZLIB"; then
|
|
|
|
WSDL2H_EXTRA_FLAGS="-I${ZLIB}/include ${WSDL2H_EXTRA_FLAGS}"
|
2018-03-06 19:29:08 +01:00
|
|
|
@@ -311,7 +311,7 @@ else
|
2011-07-10 21:38:59 +02:00
|
|
|
WSDL2H_EXTRA_FLAGS=
|
|
|
|
SAMPLE_SSL_LIBS=
|
2015-01-15 19:39:17 +01:00
|
|
|
SAMPLE_INCLUDES=
|
2011-07-10 21:38:59 +02:00
|
|
|
- WSDL2H_SOAP_CPP_LIB="libgsoap++.a"
|
|
|
|
+ WSDL2H_SOAP_CPP_LIB="libgsoap++.la"
|
|
|
|
fi
|
2017-09-02 01:46:01 +02:00
|
|
|
AM_CONDITIONAL(WITH_OPENSSL, test "x$with_openssl" = "xyes" -a "x$with_gnutls" != "xyes")
|
|
|
|
AC_SUBST(WITH_OPENSSL)
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/Makefile.am
|
2011-07-10 21:38:59 +02:00
|
|
|
===================================================================
|
2018-03-06 19:29:08 +01:00
|
|
|
--- gsoap-2.8.64.orig/gsoap/Makefile.am
|
|
|
|
+++ gsoap-2.8.64/gsoap/Makefile.am
|
2017-07-27 15:17:59 +02:00
|
|
|
@@ -34,20 +34,34 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
|
2011-07-10 21:38:59 +02:00
|
|
|
dom_cpp.cpp: dom.cpp
|
2017-09-02 01:46:01 +02:00
|
|
|
$(LN_S) -f $(top_srcdir)/gsoap/dom.cpp dom_cpp.cpp
|
2011-07-10 21:38:59 +02:00
|
|
|
|
|
|
|
-lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a
|
|
|
|
+lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la
|
|
|
|
|
|
|
|
-libgsoap_a_SOURCES = stdsoap2.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform)
|
2011-07-10 21:38:59 +02:00
|
|
|
-libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform)
|
2011-07-10 21:38:59 +02:00
|
|
|
-libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
2011-07-10 21:38:59 +02:00
|
|
|
-libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
2011-07-10 21:38:59 +02:00
|
|
|
-libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
|
2011-07-10 21:38:59 +02:00
|
|
|
-libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
|
2011-07-10 21:38:59 +02:00
|
|
|
+libgsoap_la_SOURCES = stdsoap2.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform)
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap.sym
|
|
|
|
+EXTRA_libgsoap_la_DEPENDENCIES = gsoap.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
+libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform)
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoap___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap++.sym
|
|
|
|
+EXTRA_libgsoap___la_DEPENDENCIES = gsoap++.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
+libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoapck_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck.sym
|
|
|
|
+EXTRA_libgsoapck_la_DEPENDENCIES = gsoapck.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
+libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoapck___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck++.sym
|
|
|
|
+EXTRA_libgsoapck___la_DEPENDENCIES = gsoapck++.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
+libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoapssl_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl.sym
|
2017-07-27 15:17:59 +02:00
|
|
|
+libgsoapssl_la_LIBADD = ${SAMPLE_SSL_LIBS}
|
2017-01-24 15:45:05 +01:00
|
|
|
+EXTRA_libgsoapssl_la_DEPENDENCIES = gsoapssl.sym
|
2016-02-03 10:56:00 +01:00
|
|
|
+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
|
2017-07-11 11:08:28 +02:00
|
|
|
+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
|
2017-01-24 15:45:05 +01:00
|
|
|
+libgsoapssl___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl++.sym
|
2017-07-27 15:17:59 +02:00
|
|
|
+libgsoapssl___la_LIBADD = ${libgsoapssl_la_LIBADD}
|
2017-01-24 15:45:05 +01:00
|
|
|
+EXTRA_libgsoapssl___la_DEPENDENCIES = gsoapssl++.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
|
2016-03-22 11:02:55 +01:00
|
|
|
BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp
|
2011-07-10 21:38:59 +02:00
|
|
|
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoap++.sym
|
2011-07-10 21:38:59 +02:00
|
|
|
===================================================================
|
2017-01-24 15:45:05 +01:00
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoap++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
2017-01-24 15:45:52 +01:00
|
|
|
+GSOAPXX { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoap.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoap.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
|
|
|
+GSOAP { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapck++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapck++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
2017-01-24 15:45:52 +01:00
|
|
|
+GSOAPCKXX { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapck.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapck.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
|
|
|
+GSOAPCK { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapckssl++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapckssl++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
2017-01-24 15:45:52 +01:00
|
|
|
+GSOAPCKSSLXX { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapckssl.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapckssl.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
|
|
|
+GSOAPCKSSL { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapssl++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapssl++.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
2017-01-24 15:45:52 +01:00
|
|
|
+GSOAPSSLXX { global: *; };
|
2018-03-06 19:29:08 +01:00
|
|
|
Index: gsoap-2.8.64/gsoap/gsoapssl.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2018-03-06 19:29:08 +01:00
|
|
|
+++ gsoap-2.8.64/gsoap/gsoapssl.sym
|
2017-01-24 15:45:05 +01:00
|
|
|
@@ -0,0 +1 @@
|
|
|
|
+GSOAPSSL { global: *; };
|