From 91ecce1d051eac9d0927e02d241d6421f632fc21 Mon Sep 17 00:00:00 2001 From: Mohan R Date: Sun, 26 Jun 2016 12:23:40 +0530 Subject: [PATCH] fixed ges-version.h not found issue during out of tree build --- ges/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/Makefile.am b/ges/Makefile.am index a03bd2d..06a4584 100644 --- a/ges/Makefile.am +++ b/ges/Makefile.am @@ -174,7 +174,8 @@ include $(top_srcdir)/common/gst-glib-gen.mak if HAVE_INTROSPECTION BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir -gir_headers=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS)) +gir_headers_temp=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS)) +gir_headers=$(subst $(srcdir)/ges-version.h,$(builddir)/ges-version.h,$(gir_headers_temp)) gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES)) GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la -- 2.7.4