aboutsummaryrefslogtreecommitdiff
path: root/src/lib/trace/include.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/trace/include.am')
-rw-r--r--src/lib/trace/include.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/trace/include.am b/src/lib/trace/include.am
index 8440331325..6fe1365652 100644
--- a/src/lib/trace/include.am
+++ b/src/lib/trace/include.am
@@ -26,6 +26,10 @@ if USE_TRACING_INSTRUMENTATION_LTTNG
include src/lib/trace/lttng/include.am
endif
+if USE_TRACING
src_lib_libtor_trace_a_SOURCES = $(LIBTOR_TRACE_A_SOURCES)
+else
+src_lib_libtor_trace_a_SOURCES = src/lib/trace/trace_stub.c
+endif
noinst_HEADERS+= $(TRACEHEADERS)