aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-11-20 19:36:02 +0100
committerJay Berkenbilt <ejb@ql.org>2012-11-20 19:57:37 +0100
commit739a78e20052e711eeef5ae57d31cc1ea59f1e1a (patch)
tree51dfcbd93892d5b3af765f2dc7ca168785f16061
parentf256670eba636a9b8344987108110e7b1b4c0a46 (diff)
downloadqpdf-739a78e20052e711eeef5ae57d31cc1ea59f1e1a.tar.zst
Add Requires.private to libqpdf.pc for static linking
-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}