Hi,

I'm very happy to hear that pdftocairo is finally adopted,
I thank all experts worked for this.

BTW, current utils/Makefile.am places libpoppler-cairo.la
after libpoppler.la and libcairo.  It seems that this order
makes the linking of pdftocairo aborted by unresolved symbols,
when I build poppler without shared library.  Thus, I want
to propose the reordering the libraries like this:

index 373d049..4faddad 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -30,8 +30,9 @@ pdftocairo_SOURCES =                          \
        pdftocairo.cc                           \
        $(common)

-pdftocairo_LDADD = $(LDADD) $(CAIRO_LIBS) \
-       $(top_builddir)/poppler/libpoppler-cairo.la
+pdftocairo_LDADD =                             \
+       $(top_builddir)/poppler/libpoppler-cairo.la \
+       $(LDADD) $(CAIRO_LIBS)


 pdftocairo_binary = pdftocairo

Regards,
mpsuzuki
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 373d049..4faddad 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -30,8 +30,9 @@ pdftocairo_SOURCES =				\
 	pdftocairo.cc				\
 	$(common)
 
-pdftocairo_LDADD = $(LDADD) $(CAIRO_LIBS) \
-	$(top_builddir)/poppler/libpoppler-cairo.la
+pdftocairo_LDADD =				\
+	$(top_builddir)/poppler/libpoppler-cairo.la \
+	$(LDADD) $(CAIRO_LIBS)
 
 
 pdftocairo_binary = pdftocairo
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to