pkgconfig: Add private zlib dependency for libgsttag
authorEdward Hervey <edward@centricular.com>
Fri, 2 Mar 2018 14:21:25 +0000 (15:21 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 2 Mar 2018 16:37:09 +0000 (17:37 +0100)
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

pkgconfig/gstreamer-tag-uninstalled.pc.in
pkgconfig/gstreamer-tag.pc.in

index cb097a1..02d3317 100644 (file)
@@ -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
 
index 43b6063..b8d3187 100644 (file)
@@ -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}