[poppler] Static build

Jeroen Ooms jeroen at berkeley.edu
Tue Dec 4 22:11:30 UTC 2018


On Tue, Dec 4, 2018 at 4:44 PM Ranjan Ghosh <ghosh at pw6.de> wrote:
>
> Hi all,
>
> I'm desperately trying to create a fully static build without any
> dependencies. I already got pretty far (IMHO) and build lots and lots of
> other dependent libaries statically (cairo, freetype etc.) without
> encountering any major problems.

Have a look at the homebrew formulae, I use those to statically build
packages on MacOS. Afaik it works by default in the latest releases,
just use cmake -DBUILD_SHARED_LIBS=OFF like here:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/poppler.rb#L67


More information about the poppler mailing list