mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
build: fix out of sourcedir build for check
Move the internal header to nodist (as we copy it around anyway). Use builddir in pattern substitution for it. Fixes #61483.
This commit is contained in:
parent
08b7865f24
commit
dbfebe4348
1 changed files with 8 additions and 4 deletions
|
@ -26,12 +26,14 @@ libgstcheck_@GST_MAJORMINOR@_la_LDFLAGS = \
|
||||||
libgstcheck_@GST_MAJORMINOR@includedir = \
|
libgstcheck_@GST_MAJORMINOR@includedir = \
|
||||||
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/check
|
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/check
|
||||||
|
|
||||||
libgstcheck_@GST_MAJORMINOR@include_HEADERS = \
|
libgstcheck_@GST_MAJORMINOR@include_HEADERS = \
|
||||||
internal-check.h \
|
|
||||||
gstbufferstraw.h \
|
gstbufferstraw.h \
|
||||||
gstcheck.h \
|
gstcheck.h \
|
||||||
gstconsistencychecker.h
|
gstconsistencychecker.h
|
||||||
|
|
||||||
|
nodist_libgstcheck_@GST_MAJORMINOR@include_HEADERS = \
|
||||||
|
internal-check.h
|
||||||
|
|
||||||
CLEANFILES = *.gcno *.gcda *.gcov internal-check.h $(SYMBOLS_FILE)
|
CLEANFILES = *.gcno *.gcda *.gcov internal-check.h $(SYMBOLS_FILE)
|
||||||
|
|
||||||
internal-check.h: $(top_builddir)/libs/gst/check/libcheck/check.h
|
internal-check.h: $(top_builddir)/libs/gst/check/libcheck/check.h
|
||||||
|
@ -106,9 +108,11 @@ $(SYMBOLS_FILE):
|
||||||
if HAVE_INTROSPECTION
|
if HAVE_INTROSPECTION
|
||||||
BUILT_GIRSOURCES = GstCheck-@GST_MAJORMINOR@.gir
|
BUILT_GIRSOURCES = GstCheck-@GST_MAJORMINOR@.gir
|
||||||
|
|
||||||
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_MAJORMINOR@include_HEADERS))
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_MAJORMINOR@include_HEADERS)) \
|
||||||
|
$(patsubst %,$(builddir)/%, $(nodist_libgstcheck_@GST_MAJORMINOR@include_HEADERS))
|
||||||
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_MAJORMINOR@_la_SOURCES))
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_MAJORMINOR@_la_SOURCES))
|
||||||
gir_cincludes=$(patsubst %,--c-include='gst/check/%',$(libgstcheck_@GST_MAJORMINOR@include_HEADERS))
|
gir_cincludes=$(patsubst %,--c-include='gst/check/%',$(libgstcheck_@GST_MAJORMINOR@include_HEADERS)) \
|
||||||
|
$(patsubst %,--c-include='gst/check/%',$(nodist_libgstcheck_@GST_MAJORMINOR@include_HEADERS))
|
||||||
|
|
||||||
GstCheck-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_MAJORMINOR@.la
|
GstCheck-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_MAJORMINOR@.la
|
||||||
$(AM_V_GEN)PKG_CONFIG_PATH="$(top_builddir)/pkgconfig:$(PKG_CONFIG_PATH)" \
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(top_builddir)/pkgconfig:$(PKG_CONFIG_PATH)" \
|
||||||
|
|
Loading…
Reference in a new issue