app/tag: Fix build with srcdir!=builddir

This commit is contained in:
Sebastian Dröge 2017-04-10 14:25:30 +03:00
parent 595b29519a
commit a69befecd3
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ if HAVE_INTROSPECTION
BUILT_GIRSOURCES = GstApp-@GST_API_VERSION@.gir
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@include_HEADERS))
gir_headers+=$(patsubst %,$(srcdir)/%, $(nodist_libgstapp_@GST_API_VERSION@include_HEADERS))
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@include_HEADERS))
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@_la_SOURCES))
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@_la_SOURCES))

View file

@ -43,9 +43,9 @@ if HAVE_INTROSPECTION
BUILT_GIRSOURCES = GstTag-@GST_API_VERSION@.gir
gir_headers=$(patsubst %,$(srcdir)/%, $(libgsttaginclude_HEADERS))
gir_headers+=$(patsubst %,$(srcdir)/%, $(nodist_libgsttaginclude_HEADERS))
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgsttaginclude_HEADERS))
gir_sources=$(patsubst %,$(srcdir)/%, $(libgsttag_@GST_API_VERSION@_la_SOURCES))
gir_sources+=$(patsubst %,$(srcdir)/%, $(nodist_libgsttag_@GST_API_VERSION@_la_SOURCES))
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgsttag_@GST_API_VERSION@_la_SOURCES))
GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSION@.la
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\