[profiler] Don't install the coverage suppression file if the profiler is disabled.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 6 Jun 2016 22:49:04 +0000 (00:49 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 6 Jun 2016 22:49:04 +0000 (00:49 +0200)
mono/profiler/Makefile.am

index 3c1e2b7b56982113bee25bb7a644affb0c846851..b215a3091c3c87d3da5aee213d6421f9fc3ac585 100644 (file)
@@ -36,6 +36,9 @@ lib_LTLIBRARIES = \
        $(vtune_shlibs) \
        $(vtune_stlibs)
 
+suppressiondir = $(datadir)/mono-$(API_VER)/mono/profiler
+suppression_DATA = mono-profiler-log.suppression
+
 if PLATFORM_DARWIN
 prof_ldflags = -Wl,-undefined -Wl,suppress -Wl,-flat_namespace
 endif
@@ -110,9 +113,6 @@ testlog: $(PLOG_TESTS)
 
 check-local: $(check_targets)
 
-suppressiondir = $(datadir)/mono-$(API_VER)/mono/profiler
-suppression_DATA = mono-profiler-log.suppression
-
 EXTRA_DIST=utils.c utils.h proflog.h \
        $(PLOG_TESTS_SRC) ptestrunner.pl \
        $(suppression_DATA)