aboutsummaryrefslogtreecommitdiff
path: root/src/lib/malloc/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-05 15:07:08 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-05 15:07:08 -0400
commit947de40d198d83e561320afe5d0146f43dc9192a (patch)
tree870a4cc31e928f40cebd8c0084a494769b2eedef /src/lib/malloc/include.am
parent459382986102dd1bd84bca24a0fddfe04efefd76 (diff)
downloadtor-947de40d198d83e561320afe5d0146f43dc9192a.tar.gz
tor-947de40d198d83e561320afe5d0146f43dc9192a.zip
Move openbsd-malloc responsibility to lib/malloc
(Note that this is not believed to work, but we may as well have it in the right place till we remove it)
Diffstat (limited to 'src/lib/malloc/include.am')
-rw-r--r--src/lib/malloc/include.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/malloc/include.am b/src/lib/malloc/include.am
index b4c5cae54d..50de9cb736 100644
--- a/src/lib/malloc/include.am
+++ b/src/lib/malloc/include.am
@@ -8,6 +8,10 @@ endif
src_lib_libtor_malloc_a_SOURCES = \
src/lib/malloc/util_malloc.c
+if USE_OPENBSD_MALLOC
+src_lib_libtor_malloc_a_SOURCES += src/ext/OpenBSD_malloc_Linux.c
+endif
+
src_lib_libtor_malloc_testing_a_SOURCES = \
$(src_lib_libtor_malloc_a_SOURCES)
src_lib_libtor_malloc_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)