[poppler] Fix building static libraries with cmake

Albert Astals Cid aacid at kde.org
Tue Jan 9 23:29:42 UTC 2018


El dijous, 4 de gener de 2018, a les 10:12:43 CET, suzuki toshiya va escriure:
> Dear Albert,
> 
> At least, in my case, archive library of poppler works to use
> pdftoppm, pdftotext and pdftocairo. The binaries linking libpoppler
> statically are useful for debugging, so I want to support the
> patch by Jeroen. Which features would be failed in the binary
> linking libpoppler statically?

None, it'll work fine, it was my mistake, what happens is that static objects 
that are not referenced anywhere, i.e. "plugins" won't be initialized when 
part of a static library, but we don't have any of those so it should be fine.

Cheers,
  Albert

> 
> Regards,
> mpsuzuki
> 
> Albert Astals Cid wrote:
> > El dijous, 2 de novembre de 2017, a les 13:53:16 CET, Jeroen Ooms va 
escriure:
> >> On Thu, Nov 2, 2017 at 12:23 AM, Albert Astals Cid <aacid at kde.org> wrote:
> >>> Email here or use bugzillla.
> >> 
> >> OK, attached is the patch.
> > 
> > Does using static libraries for poppler actually work?
> > 
> > As far as i remember static linking of libraries means that static objects
> > defined in C++ dont' get created, so stuff will fail?
> > 
> > Cheers,
> > 
> >   Albert
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/poppler
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list