From 9a04087347dfaa513466ff1471d6eedd629d0d61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 10 Apr 2017 14:26:42 +0300 Subject: [PATCH] controller: Fix build with srcdir!=builddir --- libs/gst/controller/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/gst/controller/Makefile.am b/libs/gst/controller/Makefile.am index bbe3aaf..f2052c9 100644 --- a/libs/gst/controller/Makefile.am +++ b/libs/gst/controller/Makefile.am @@ -53,8 +53,10 @@ include $(top_srcdir)/common/gst-glib-gen.mak if HAVE_INTROSPECTION BUILT_GIRSOURCES = GstController-@GST_API_VERSION@.gir -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_include_HEADERS) $(nodist_libgstcontroller_@GST_API_VERSION@_include_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_la_SOURCES) $(nodist_libgstcontroller_@GST_API_VERSION@_la_SOURCES)) +gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_include_HEADERS)) +gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstcontroller_@GST_API_VERSION@_include_HEADERS)) +gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_la_SOURCES)) +gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstcontroller_@GST_API_VERSION@_la_SOURCES)) GstController-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@GST_API_VERSION@.la $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ -- 2.7.4