summaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-03-05 16:19:37 +0100
committerDaniel Golle <daniel@makrotopia.org>2017-03-05 21:04:00 +0100
commit65f138e9a6156983ac74f8f1a5b8051d8f9be86a (patch)
treefe4e48a5d3abf7ba6a9fa18a673bdc94b6215b3c /src/consensus
parent8a32cac23d7289cfb7d1d356603a523cf6effd13 (diff)
build profilers only if testing is enabled
build fails of consensus and secretsharing fails otherwise make[7]: *** No rule to make target '../../src/testbed/libgnunettestbed.la', needed by 'gnunet-consensus-profiler'. Stop
Diffstat (limited to 'src/consensus')
-rw-r--r--src/consensus/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am
index 2b1987fbc..c0205ee5d 100644
--- a/src/consensus/Makefile.am
+++ b/src/consensus/Makefile.am
@@ -18,8 +18,6 @@ if USE_COVERAGE
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
-bin_PROGRAMS = \
- gnunet-consensus-profiler
libexec_PROGRAMS = \
gnunet-service-consensus
@@ -86,6 +84,9 @@ libgnunet_plugin_block_consensus_la_LDFLAGS = \
if HAVE_TESTING
+bin_PROGRAMS = \
+ gnunet-consensus-profiler
+
check_PROGRAMS = \
test_consensus_api