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

Fixes bug #598297.
This commit is contained in:
Peter Kjellerstedt 2009-10-14 08:50:31 +02:00 committed by Sebastian Dröge
parent b8454d623d
commit 1b569d8cb4

View file

@ -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