pkg-config: Add both srcdir and builddir to the include path
authorSebastian Dröge <sebastian@centricular.com>
Mon, 27 Feb 2017 17:13:11 +0000 (19:13 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 27 Feb 2017 17:13:11 +0000 (19:13 +0200)
Just the build dir is not going to work for srcdir!=builddir.

pkgconfig/gstreamer-insertbin-uninstalled.pc.in
pkgconfig/gstreamer-player-uninstalled.pc.in
pkgconfig/gstreamer-wayland-uninstalled.pc.in

index 328e77b..51445dd 100644 (file)
@@ -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
 
index 0cae959..6119a27 100644 (file)
@@ -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
 
index 2661c1e..56c2da0 100644 (file)
@@ -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