Bug 693009

Summary: [PATCH] Support for libfitz dynamic library
Product: MuPDF Reporter: Cyril Hrubis <metan>
Component: fitzAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: jackie.rosen, michael, tor.andersson
Priority: P4    
Version: unspecified   
Hardware: All   
OS: Linux   
Customer: Word Size: ---
Attachments: [PATCH] Support for libfitz dynamic library

Description Cyril Hrubis 2012-04-30 17:39:01 UTC
Created attachment 8554 [details]
[PATCH] Support for libfitz dynamic library

Attached patch adds support for building and installing libfitz as dynamic library. Note that -fPIC was added to CFLAGS which is needed for generating position independent code.

After the dynamic library is installed, applications could link dynamically by adding -lfitz to the list of libraries to link against (which was tested and works fine).