mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
build: Only run make check-exports if no public API was disabled
Fixes bug #598297.
This commit is contained in:
parent
b8454d623d
commit
1b569d8cb4
1 changed files with 10 additions and 1 deletions
11
Makefile.am
11
Makefile.am
|
@ -140,5 +140,14 @@ check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h
|
|||
|
||||
include $(top_srcdir)/common/coverage/lcov.mak
|
||||
|
||||
check: check-exports check-enum-gettypes
|
||||
# Do not run the check-exports test in case any option which causes the API to
|
||||
# change has been used
|
||||
if !GST_DISABLE_LOADSAVE
|
||||
if !GST_DISABLE_REGISTRY
|
||||
if !GST_DISABLE_TRACE
|
||||
CHECK_EXPORTS = check-exports
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
check: $(CHECK_EXPORTS) check-enum-gettypes
|
||||
|
|
Loading…
Reference in a new issue