mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #12501 from ganeshmaharaj/fix-osd-tracing
tracing: Fix error in including all files in osd_tp Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
a6dfd7ef77
@ -26,8 +26,9 @@ function(add_tracing_library name tracings version)
|
||||
get_filename_component(tp ${tp_file} NAME_WE)
|
||||
list(APPEND hdrs
|
||||
${header_dir}/${tp}.h)
|
||||
list(APPEND tpfiles ${tp}.c)
|
||||
endforeach()
|
||||
add_library(${name} SHARED ${hdrs} ${tp}.c)
|
||||
add_library(${name} SHARED ${hdrs} ${tpfiles})
|
||||
target_link_libraries(${name} ${LTTNGUST_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
string(REGEX MATCH "^[0-9]+" soversion ${version})
|
||||
set_target_properties(${name} PROPERTIES
|
||||
|
Loading…
Reference in New Issue
Block a user