From: John Spray Date: Wed, 20 Jan 2016 12:37:06 +0000 (+0000) Subject: cmake: fix libcephfs linking X-Git-Tag: v10.0.4~139^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4b0b2f3c3b14da6fa665508d7b503ea4e1622ce;p=ceph.git cmake: fix libcephfs linking This was a merge glitch between Ali's cmake updates and my VolumeClient PR. My PR was using the old TCMALLOC_LIBS vs. the new ALLOC_LIBS variable. Signed-off-by: John Spray --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1be14fbc7fee..351eafcce0e3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -909,7 +909,7 @@ if(WITH_LIBCEPHFS) $) target_link_libraries(cephfs PRIVATE client osdc osd os global common cls_lock_client ${BLKID_LIBRARIES} - ${CRYPTO_LIBS} ${EXTRALIBS} ${TCMALLOC_LIBS}) + ${CRYPTO_LIBS} ${EXTRALIBS} ${ALLOC_LIBS}) if(${ENABLE_SHARED}) set_target_properties(cephfs PROPERTIES OUTPUT_NAME cephfs VERSION 1.0.0 SOVERSION 1)