From 4d3de443856b510724ac0333ae2ed4f8a40cde3b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 22 Jun 2016 23:19:02 +0800 Subject: [PATCH] cmake: use ${CEPH_SHARED} when adding libradosstriper Signed-off-by: Kefu Chai --- src/libradosstriper/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libradosstriper/CMakeLists.txt b/src/libradosstriper/CMakeLists.txt index b1174390079..e40de8d68ca 100644 --- a/src/libradosstriper/CMakeLists.txt +++ b/src/libradosstriper/CMakeLists.txt @@ -2,7 +2,7 @@ set(libradosstriper_srcs libradosstriper.cc RadosStriperImpl.cc MultiAioCompletionImpl.cc) -add_library(radosstriper ${libradosstriper_srcs}) +add_library(radosstriper ${CEPH_SHARED} ${libradosstriper_srcs}) target_link_libraries(radosstriper librados cls_lock_client osdc common pthread ${CRYPTO_LIBS} ${EXTRALIBS}) set_target_properties(radosstriper PROPERTIES OUPUT_NAME radosstriper