From: Gerrit P. H. <ge...@fa...> - 2005-08-23 00:57:52
|
Tony Graham wrote: > "Gerrit P. Haase" <ge...@fa...> writes: > >>Just fetched the 0.3.5 release with pangoxsl-1.6.0.1. >> >>It is actually working and producing a real PDF! > > > That's good news. > > >>I needed only two minor changes in Makefile.am to get a clean build >>(and of course reconfigury with the Cygwin autotools). > > > What changes? Cygwin / Windows does not alllow to link binaries if the references to functions and other imports cannot be resolved. Therefore libtool needs the flsg -no-undefined and all libraries used need to be added to the link command. diff -urN -x .build -x .inst -x .sinst xmlroff-0.3.5-orig/Makefile.am xmlroff-0.3.5/Makefile.am --- xmlroff-0.3.5-orig/Makefile.am 2005-08-14 21:58:34.000000000 +0200 +++ xmlroff-0.3.5/Makefile.am 2005-08-19 20:05:59.430811900 +0200 @@ -37,7 +37,7 @@ #-release $(VERSION) -libfo_0_3_la_LDFLAGS = \ +libfo_0_3_la_LDFLAGS = -no-undefined \ -version-info $(LT_VERSION_INFO) libfo_0_3_includedir = $(includedir)/libfo-0.3 @@ -66,7 +66,15 @@ fo/libfo-fo.la \ datatype/libfo-datatype.la \ property/libfo-property.la \ - libfo/libfo-libfo.la + libfo/libfo-libfo.la \ + $(PANGOXSL_LIBS) \ + $(PANGO_LIBS) \ + $(GNOMEPRINT_LIBS) \ + $(LIBXSLT_LIBS) \ + $(GOBJECT_LIBS) \ + $(FREETYPE_LIBS) \ + $(POPT_LIBS) \ + $(GDKPIXBUF_LIBS) xmlroff_SOURCES = \ xmlroff.c Gerrit |