Commit 739a78e20052e711eeef5ae57d31cc1ea59f1e1a

Authored by Jay Berkenbilt
1 parent f256670e

Add Requires.private to libqpdf.pc for static linking

Showing 2 changed files with 5 additions and 0 deletions
ChangeLog
1 2012-11-20 Jay Berkenbilt <ejb@ql.org> 1 2012-11-20 Jay Berkenbilt <ejb@ql.org>
2 2
  3 + * Add zlib and libpcre to Requires.private in the pkg-config file
  4 + to support static linking. Thanks Tobias Hoffmann for pointing
  5 + out the omission.
  6 +
3 * Ignore (with warning) non-freed objects in the xref table whose 7 * Ignore (with warning) non-freed objects in the xref table whose
4 offset is 0. Some PDF producers (incorrectly) do this. See 8 offset is 0. Some PDF producers (incorrectly) do this. See
5 https://bugs.linuxfoundation.org/show_bug.cgi?id=1081. 9 https://bugs.linuxfoundation.org/show_bug.cgi?id=1081.
libqpdf.pc.in
@@ -6,5 +6,6 @@ includedir=@includedir@ @@ -6,5 +6,6 @@ includedir=@includedir@
6 Name: libqpdf 6 Name: libqpdf
7 Description: PDF transformation library 7 Description: PDF transformation library
8 Version: @PACKAGE_VERSION@ 8 Version: @PACKAGE_VERSION@
  9 +Requires.private: zlib, libpcre
9 Libs: -L${libdir} -lqpdf 10 Libs: -L${libdir} -lqpdf
10 Cflags: -I${includedir} 11 Cflags: -I${includedir}