From 739a78e20052e711eeef5ae57d31cc1ea59f1e1a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 20 Nov 2012 13:36:02 -0500 Subject: Add Requires.private to libqpdf.pc for static linking --- ChangeLog | 4 ++++ libqpdf.pc.in | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index a13d4134..88f57f30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-11-20 Jay Berkenbilt + * 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. diff --git a/libqpdf.pc.in b/libqpdf.pc.in index c765900c..5d1a8670 100644 --- a/libqpdf.pc.in +++ b/libqpdf.pc.in @@ -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} -- cgit v1.2.3-54-g00ecf