The boost libraries are included in libceph-common. If linked
directly, boost::regex will abort during shutdown since it uses
a global static variable and it will be destructed twice.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
rbd_types
journal
ceph-common global
- ${Boost_REGEX_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY}
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
if(WITH_KRBD)
target_link_libraries(rbd
add_executable(rbd-nbd rbd-nbd.cc)
-target_link_libraries(rbd-nbd librbd librados global
- ${Boost_REGEX_LIBRARY})
+target_link_libraries(rbd-nbd librbd librados global)
install(TARGETS rbd-nbd DESTINATION bin)