From 1be75c2b3d0b784f987224dc2b4f51837ff02658 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 28 Apr 2014 15:52:41 +0100 Subject: [PATCH] gl: append GL_LIB and GL_CFLAGS in pc files --- pkgconfig/gstreamer-gl-uninstalled.pc.in | 4 ++-- pkgconfig/gstreamer-gl.pc.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgconfig/gstreamer-gl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-uninstalled.pc.in index 13cb827bcb..76eefb9707 100644 --- a/pkgconfig/gstreamer-gl-uninstalled.pc.in +++ b/pkgconfig/gstreamer-gl-uninstalled.pc.in @@ -9,7 +9,7 @@ Description: Streaming media framework, OpenGL plugins libraries, uninstalled Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ -Libs: -L${libdir} ${libdir}/libgstgl-@GST_API_VERSION@.la -Cflags: -I${includedir} -I@srcdir@/.. +Libs: -L${libdir} ${libdir}/libgstgl-@GST_API_VERSION@.la @GL_LIBS@ +Cflags: -I${includedir} -I@srcdir@/.. @GL_CFLAGS@ libraries=gl diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in index c640e75473..f6ebf36448 100644 --- a/pkgconfig/gstreamer-gl.pc.in +++ b/pkgconfig/gstreamer-gl.pc.in @@ -8,6 +8,6 @@ Name: GStreamer OpenGL Plugins Libraries Description: Streaming media framework, OpenGL plugins libraries Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ -Cflags: -I${includedir} +Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@ +Cflags: -I${includedir} @GL_CFLAGS@