summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-03-02 15:21:25 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-03-02 17:37:09 +0100
commit865793273218739656fd9db9b5143ead5d33443c (patch)
tree73fab88cc82c175d02465c3198f693ffe4260b22
parentdc17ac5516b80363a216636df9ee0582bd4640d9 (diff)
pkgconfig: Add private zlib dependency for libgsttag
Fixes issues with static application builds (which might not know they need to link with zlib when using a libgsttag that was compiled with it). https://bugzilla.gnome.org/show_bug.cgi?id=793989
-rw-r--r--pkgconfig/gstreamer-tag-uninstalled.pc.in1
-rw-r--r--pkgconfig/gstreamer-tag.pc.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgconfig/gstreamer-tag-uninstalled.pc.in b/pkgconfig/gstreamer-tag-uninstalled.pc.in
index cb097a13c..02d3317a4 100644
--- a/pkgconfig/gstreamer-tag-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-tag-uninstalled.pc.in
@@ -12,5 +12,6 @@ Description: Tag base classes and helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_API_VERSION@
Libs: -L${libdir} -lgsttag-@GST_API_VERSION@
+Libs.Private: @ZLIB_LIBS@
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
diff --git a/pkgconfig/gstreamer-tag.pc.in b/pkgconfig/gstreamer-tag.pc.in
index 43b6063c9..b8d318770 100644
--- a/pkgconfig/gstreamer-tag.pc.in
+++ b/pkgconfig/gstreamer-tag.pc.in
@@ -12,5 +12,6 @@ Description: Tag base classes and helper functions
Requires: gstreamer-@GST_API_VERSION@
Version: @VERSION@
Libs: -L${libdir} -lgsttag-@GST_API_VERSION@
+Libs.private: @ZLIB_LIBS@
Cflags: -I${includedir}