[patch] Use libtool for libwsdl-build in soup (#35555)
Jeremy Katz <[email protected]> 12 Dec 2002 21:54:35 -0500
| Newsgroups | gmane.comp.gnome.ximian.soup,gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
libwsdl-build should be built using libtool instead of explicit makefile rules so that -fPIC, etc get used as needed on platforms. Attached patch against 0.7.9 fixes this Jeremy
soup-0.7.9-fpic.patch
(text/plain, 1.1 KB)
--- soup-0.7.9/src/libwsdl/Makefile.am.fpic 2002-04-05 15:46:30.000000000 -0500 +++ soup-0.7.9/src/libwsdl/Makefile.am 2002-12-12 02:35:57.000000000 -0500 @@ -21,7 +21,8 @@ wsdl-soap-memory.h \ wsdl-param.h -lib_LTLIBRARIES = libwsdl.la +lib_LTLIBRARIES = libwsdl.la +noinst_LTLIBRARIES = libwsdl-build.la libwsdl_la_LDFLAGS = -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) @@ -46,9 +47,7 @@ wsdl-soap-memory.c \ wsdl-soap-memory.h -noinst_LIBRARIES = libwsdl-build.a - -libwsdl_build_a_SOURCES = \ +libwsdl_build_la_SOURCES = \ wsdl-typecodes.c \ wsdl-typecodes.h \ wsdl-schema.c \ @@ -57,6 +56,7 @@ wsdl-schema-glib.h \ wsdl-typecodes-c.c \ wsdl-typecodes-c.h +libwsdl_build_la_LD_FLAGS = -static EXTRA_DIST = --- soup-0.7.9/src/soup-wsdl/Makefile.am.fpic 2002-04-10 12:33:19.000000000 -0400 +++ soup-0.7.9/src/soup-wsdl/Makefile.am 2002-12-12 02:22:08.000000000 -0500 @@ -17,7 +17,7 @@ $(POPT_LIBS) \ $(XML_LIBS) \ $(top_builddir)/src/libsoup/libsoup.la \ - $(top_builddir)/src/libwsdl/libwsdl-build.a + $(top_builddir)/src/libwsdl/libwsdl-build.la soup_wsdl_SOURCES = \ main.c \