[poppler] building static-linked pdftocairo
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Fri Aug 26 17:09:29 PDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mps20110827a.diff
Type: text/x-patch
Size: 433 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110827/ea7fd56e/attachment.bin>
More information about the poppler
mailing list