summaryrefslogtreecommitdiff
path: root/src/feature/relay/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-18 13:30:20 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-18 13:31:33 -0500
commite85f46b7be0e658f3d5cd76dff3f1a98b426f22e (patch)
tree874d205419c6fa118a626370cef4d92c67fbe246 /src/feature/relay/include.am
parent17724a7cdeb9b98539831f1164a82784f1fb050f (diff)
downloadtor-e85f46b7be0e658f3d5cd76dff3f1a98b426f22e.tar.gz
tor-e85f46b7be0e658f3d5cd76dff3f1a98b426f22e.zip
Do not build selftest.c when running relay mode is disabled.
Diffstat (limited to 'src/feature/relay/include.am')
-rw-r--r--src/feature/relay/include.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/include.am b/src/feature/relay/include.am
index a4c025ae12..2f730a6857 100644
--- a/src/feature/relay/include.am
+++ b/src/feature/relay/include.am
@@ -5,8 +5,7 @@ LIBTOR_APP_A_SOURCES += \
src/feature/relay/ext_orport.c \
src/feature/relay/onion_queue.c \
src/feature/relay/router.c \
- src/feature/relay/routerkeys.c \
- src/feature/relay/selftest.c
+ src/feature/relay/routerkeys.c
# The Relay module.
@@ -16,6 +15,7 @@ MODULE_RELAY_SOURCES = \
src/feature/relay/relay_config.c \
src/feature/relay/relay_periodic.c \
src/feature/relay/relay_sys.c \
+ src/feature/relay/selftest.c \
src/feature/relay/transport_config.c
# ADD_C_FILE: INSERT HEADERS HERE.