Skip to content

Commit

Permalink
Add osd dependency to cls_rbd library when WITH_RBD
Browse files Browse the repository at this point in the history
specified. Otherwise, for example, "make vstart smalliobenchrbd" will
not build necessary cls_rbd shared library.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
  • Loading branch information
ivancich committed Aug 25, 2016
1 parent ae81907 commit aa9503f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osd/CMakeLists.txt
Expand Up @@ -37,3 +37,6 @@ target_link_libraries(osd ${LEVELDB_LIBRARIES} ${CMAKE_DL_LIBS} ${ALLOC_LIBS})
if(WITH_LTTNG)
add_dependencies(osd osd-tp)
endif()
if(WITH_RBD)
add_dependencies(osd cls_rbd)
endif()

0 comments on commit aa9503f

Please sign in to comment.