[poppler] cmake and static binaries
William Bader
williambader at hotmail.com
Tue Sep 5 18:40:31 UTC 2017
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20170905/e28c034d/attachment.html>
More information about the poppler
mailing list