gl/pkg-config: don't advertise all our dependent libraries as deps
authorMatthew Waters <matthew@centricular.com>
Thu, 17 Nov 2016 06:51:54 +0000 (17:51 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:25 +0000 (19:32 +0000)
If an application/library explicitly needs a library, it needs to link
against it itself.

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

index 1d29559..a21ac46 100644 (file)
@@ -10,6 +10,6 @@ Description: Streaming media framework, OpenGL plugins libraries, uninstalled
 Version: @VERSION@
 Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
 
-Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
+Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
 Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
 
index 112ce21..a3a9dc6 100644 (file)
@@ -9,5 +9,5 @@ Description: Streaming media framework, OpenGL plugins libraries
 Version: @VERSION@
 Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
 
-Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
+Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
 Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@