Commit 1b569d8c authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Sebastian Dröge

build: Only run make check-exports if no public API was disabled

Fixes bug #598297.
parent b8454d62
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment