diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-04-10 14:26:42 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-04-10 14:26:42 +0300 |
commit | 9a04087347dfaa513466ff1471d6eedd629d0d61 (patch) | |
tree | 3476d60167875f71be22c7e86f4e4a93ff1234d8 /libs/gst/controller | |
parent | f34c8aac4d4293ea6997157a82a13c68b0a55ffb (diff) |
controller: Fix build with srcdir!=builddir
Diffstat (limited to 'libs/gst/controller')
-rw-r--r-- | libs/gst/controller/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/gst/controller/Makefile.am b/libs/gst/controller/Makefile.am index bbe3aafc5..f2052c9dd 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\ |