Add Requires.private to libqpdf.pc for static linking

This commit is contained in:
Jay Berkenbilt 2012-11-20 13:36:02 -05:00
parent f256670eba
commit 739a78e200
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2012-11-20 Jay Berkenbilt <ejb@ql.org>
* Add zlib and libpcre to Requires.private in the pkg-config file
to support static linking. Thanks Tobias Hoffmann for pointing
out the omission.
* Ignore (with warning) non-freed objects in the xref table whose
offset is 0. Some PDF producers (incorrectly) do this. See
https://bugs.linuxfoundation.org/show_bug.cgi?id=1081.

View File

@ -6,5 +6,6 @@ includedir=@includedir@
Name: libqpdf
Description: PDF transformation library
Version: @PACKAGE_VERSION@
Requires.private: zlib, libpcre
Libs: -L${libdir} -lqpdf
Cflags: -I${includedir}