From c11e93c9dae31e780eb3b17293121b64eb4ab326 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Feb 2017 19:13:11 +0200 Subject: [PATCH] pkg-config: Add both srcdir and builddir to the include path Just the build dir is not going to work for srcdir!=builddir. --- pkgconfig/gstreamer-insertbin-uninstalled.pc.in | 2 +- pkgconfig/gstreamer-player-uninstalled.pc.in | 2 +- pkgconfig/gstreamer-wayland-uninstalled.pc.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in b/pkgconfig/gstreamer-insertbin-uninstalled.pc.in index 328e77b..51445dd 100644 --- a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in +++ b/pkgconfig/gstreamer-insertbin-uninstalled.pc.in @@ -8,5 +8,5 @@ Description: Bin to automatically and insertally link elements, uninstalled Requires: gstreamer-@GST_API_VERSION@ Version: @VERSION@ Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@ -Cflags: -I${includedir} +Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-player-uninstalled.pc.in b/pkgconfig/gstreamer-player-uninstalled.pc.in index 0cae959..6119a27 100644 --- a/pkgconfig/gstreamer-player-uninstalled.pc.in +++ b/pkgconfig/gstreamer-player-uninstalled.pc.in @@ -8,5 +8,5 @@ Description: GStreamer Player convenience library, uninstalled Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ Version: @VERSION@ Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@ -Cflags: -I${includedir} +Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-wayland-uninstalled.pc.in b/pkgconfig/gstreamer-wayland-uninstalled.pc.in index 2661c1e..56c2da0 100644 --- a/pkgconfig/gstreamer-wayland-uninstalled.pc.in +++ b/pkgconfig/gstreamer-wayland-uninstalled.pc.in @@ -8,5 +8,5 @@ Description: GStreamer Wayland support, uninstalled Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ Version: @VERSION@ Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@ -Cflags: -I${includedir} +Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs -- 2.7.4