pkg-config: Add both srcdir and builddir to the include path

Just the build dir is not going to work for srcdir!=builddir.
This commit is contained in:
Sebastian Dröge 2017-02-27 19:13:11 +02:00
parent 60810cd057
commit c11e93c9da
3 changed files with 3 additions and 3 deletions

View file

@ -8,5 +8,5 @@ Description: Bin to automatically and insertally link elements, uninstalled
Requires: gstreamer-@GST_API_VERSION@ Requires: gstreamer-@GST_API_VERSION@
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@ Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@
Cflags: -I${includedir} Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs

View file

@ -8,5 +8,5 @@ Description: GStreamer Player convenience library, uninstalled
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@ Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@
Cflags: -I${includedir} Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs

View file

@ -8,5 +8,5 @@ Description: GStreamer Wayland support, uninstalled
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@ Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@
Cflags: -I${includedir} Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs