[poppler] building static-linked pdftocairo

Albert Astals Cid aacid at kde.org
Sun Aug 28 13:09:36 PDT 2011


Commited.

Albert

A Dissabte, 27 d'agost de 2011, suzuki toshiya vàreu escriure:
> 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


More information about the poppler mailing list