Search code examples
mupdf

How to build shared MuPDF library?


MuPDF by default should build static library, according to bit older Makfile and Internet sources.

I now wanted to build MuPDF shared library which is needed by other project, and it doesn't even include rule for static library in current Makefile.
As can be seen it includes rule only for libfitz.a (maybe mupdf library is included in it, I don't know, as except browsing source code I don't see any documentation)

Just in case, I added -fPIC in CFLAGS variable in Makerules file, but I didn't get anything except static libfitz.a library and various mupdf executables.

How can I build MuPDF shared library?


Solution

  • See: http://bugs.ghostscript.com/show_bug.cgi?id=693009