[poppler] cmake and static binaries

Albert Astals Cid aacid at kde.org
Wed Sep 6 17:41:02 UTC 2017


El dimarts, 5 de setembre de 2017, a les 18:40:31 CEST, William Bader va 
escriure:
> Thanks, that worked!
> 
> 
> I ran 'ldd' on both pdftops executables, and the executable I compiled
> yesterday with autotools has one additional library compared to the one I
> built now with cmake: libjbig
> 
> Is that a problem? I reran the autotools build and grep for jbig didn't find
> anything in configure or the makefiles, but ldd pdftops still shows it.

You're the one that thinks static builds are a good idea, so you should know 
if it's a problem or not :D

I'll commit that patch anyway it's not a big change and if it makes you happy 
something is something.

Cheers,
  Albert

> 
> 
> Regards, William
> 
> 
> ________________________________
> From: poppler <poppler-bounces at lists.freedesktop.org> on behalf of Albert
> Astals Cid <aacid at kde.org> Sent: Tuesday, September 5, 2017 1:32 PM
> To: poppler at lists.freedesktop.org
> Subject: Re: [poppler] cmake and static binaries
> 
> El dilluns, 4 de setembre de 2017, a les 13:43:10 CEST, William Bader va
> 
> escriure:
> > I mainly use the poppler pdftops utility, and with autotools, I have been
> > using --enable-static --disable-shared so that I have a single executable
> > instead of an executable and library. Is there an equivalent with cmake?
> > Adding -DBUILD_SHARED_LIBS=OFF didn't seem to make any different. Thanks,
> > William
> 
> I'm not really very happy supporting static builds but sine this seems to be
> a small change, can you verify this patch works for you?
> 
> Cheers,
>   Albert




More information about the poppler mailing list