From: Edward Hervey Date: Fri, 2 Mar 2018 14:21:25 +0000 (+0100) Subject: pkgconfig: Add private zlib dependency for libgsttag X-Git-Tag: 1.19.3~511^2~1819 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=865793273218739656fd9db9b5143ead5d33443c;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/pkgconfig/gstreamer-tag-uninstalled.pc.in b/pkgconfig/gstreamer-tag-uninstalled.pc.in index cb097a1..02d3317 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 43b6063..b8d3187 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}