From: Noah Watkins Date: Fri, 13 Sep 2013 15:29:02 +0000 (-0700) Subject: make: add tmalloc lib dep in tcmalloc guard X-Git-Tag: v0.71~130^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F594%2Fhead;p=ceph.git make: add tmalloc lib dep in tcmalloc guard Fixes --without-tcmalloc on boxes without libtcmalloc. Signed-off-by: Noah Watkins --- 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 += \