Dumb me, I was commenting the line of the -no-undefined instead of
putting libgnupdf_la_LDFLAGS = <empty>
Below is the diff with what worked for me. Aleksander: should your
patch to Makefile.am reflect this as well? I mean, doing an else
condition where ibgnupdf_la_LDFLAGS is set to empty?
nuno
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/pdf/libgnupdf/src/Makefile.am,v
retrieving revision 1.47
diff -u -r1.47 Makefile.am
--- src/Makefile.am 25 May 2008 15:40:56 -0000 1.47
+++ src/Makefile.am 14 Jun 2008 20:23:22 -0000
@@ -85,7 +85,8 @@
include_HEADERS = pdf.h
libgnupdf_la_LIBADD = $(top_srcdir)/lib/libgnu.la
# We want a DLL if compiling for Windows
-libgnupdf_la_LDFLAGS = -no-undefined
+#libgnupdf_la_LDFLAGS = -no-undefined
+libgnupdf_la_LDFLAGS =
AM_CFLAGS = -Wall -fno-strict-aliasing
AM_CPPFLAGS = -I$(top_builddir)/lib -I$(srcdir)/base \