aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--libqpdf.pc.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a13d4134..88f57f30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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}