forked from pool/gsoap
Jan Engelhardt
7040de6ecb
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=129
29 lines
1.3 KiB
Diff
29 lines
1.3 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2018-03-06 09:34:40.580751345 +0100
|
|
|
|
Adding source files in LDADD is nonsensical. Linker frontend programs like
|
|
"gcc" will nevertheless ingest them, but since automake is not passing CXXFLAGS
|
|
(since it is calling the linker, not the compiler!), it is possible for
|
|
compilation to fail.
|
|
|
|
---
|
|
gsoap/wsdl/Makefile.am | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
Index: gsoap-2.8.64/gsoap/wsdl/Makefile.am
|
|
===================================================================
|
|
--- gsoap-2.8.64.orig/gsoap/wsdl/Makefile.am
|
|
+++ gsoap-2.8.64/gsoap/wsdl/Makefile.am
|
|
@@ -30,9 +30,8 @@ wsdl2h_CXXFLAGS=$(C_DEBUG_FLAGS) $(SOAPC
|
|
wsdl2h_CPPFLAGS=$(AM_CPPFLAGS) $(SOAPCPP2_NONAMESPACES) -D$(platform)
|
|
wsdl2h_SOURCES=wsdl2h.cpp wsdl.cpp wadl.cpp schema.cpp types.cpp service.cpp soap.cpp mime.cpp wsp.cpp bpel.cpp $(SOAP_CPP_SRC)
|
|
if WITH_OPENSSL
|
|
-wsdl2h_LDADD=$(SOAP_CPP_LIB) $(top_srcdir)/gsoap/plugin/httpda.c $(top_srcdir)/gsoap/plugin/smdevp.c $(top_srcdir)/gsoap/plugin/threads.c $(WSDL2H_EXTRA_LIBS)
|
|
-else
|
|
-wsdl2h_LDADD=$(SOAP_CPP_LIB) $(WSDL2H_EXTRA_LIBS)
|
|
+wsdl2h_SOURCES += $(top_srcdir)/gsoap/plugin/httpda.c $(top_srcdir)/gsoap/plugin/smdevp.c $(top_srcdir)/gsoap/plugin/threads.c
|
|
endif
|
|
+wsdl2h_LDADD=$(SOAP_CPP_LIB) $(WSDL2H_EXTRA_LIBS)
|
|
|
|
CLEANFILES= *~ *C.cpp *H.h *Stub.h *.nsmap
|