]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: should link against ${ALLOC_LIBS}
authorKefu Chai <kchai@redhat.com>
Mon, 14 Nov 2016 11:10:23 +0000 (19:10 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 14 Nov 2016 11:31:02 +0000 (19:31 +0800)
commite630d74c6457a7f1fe71fb4ed2f15a7ef9114fe8
tree69b18e54b5e3cef32bd567600177fae8b84b8088
parentddcb4a945a6a7ace41c9853214369e21c7762fd3
cmake: should link against ${ALLOC_LIBS}

rocksdb references some jemalloc specific symbols (malloc_stats_print()
for example), if jemalloc is enabled. this fails the build. so we need
to link against ${ALLOC_LIBS} when appropriate.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/kv/CMakeLists.txt