From 3f8c96902edbc3667291d3a67764362d42651e67 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 13 Sep 2013 08:29:02 -0700 Subject: make: add tmalloc lib dep in tcmalloc guard Fixes --without-tcmalloc on boxes without libtcmalloc. Signed-off-by: Noah Watkins --- src/perfglue/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perfglue/Makefile.am b/src/perfglue/Makefile.am index c34e7f16760..f2b8d5030e6 100644 --- a/src/perfglue/Makefile.am +++ b/src/perfglue/Makefile.am @@ -2,6 +2,7 @@ libperfglue_la_SOURCES = if WITH_TCMALLOC libperfglue_la_SOURCES += perfglue/heap_profiler.cc +libperfglue_la_LIBADD = -ltcmalloc AM_CFLAGS += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free AM_CXXFLAGS += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free else @@ -14,7 +15,6 @@ else libperfglue_la_SOURCES += perfglue/disabled_stubs.cc endif # WITH_PROFILER -libperfglue_la_LIBADD = -ltcmalloc noinst_LTLIBRARIES += libperfglue.la noinst_HEADERS += \ -- cgit v1.2.1