Fix undefined symbol

pull/5/head
Alexey Shabalin 2021-04-19 23:55:12 +03:00
parent dd8b12d9e4
commit 8c411e38da
1 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ add_library(vitastor_blk SHARED
blockstore_write.cpp blockstore_sync.cpp blockstore_stable.cpp blockstore_rollback.cpp blockstore_flush.cpp crc32c.c ringloop.cpp
)
target_link_libraries(vitastor_blk
vitastor_common
${LIBURING_LIBRARIES}
tcmalloc_minimal
)
@ -57,7 +58,7 @@ add_library(vitastor_common STATIC
http_client.cpp osd_ops.cpp pg_states.cpp timerfd_manager.cpp base64.cpp
)
target_compile_options(vitastor_common PUBLIC -fPIC)
# vitastor-osd
add_executable(vitastor-osd
osd_main.cpp osd.cpp osd_secondary.cpp osd_peering.cpp osd_flush.cpp osd_peering_pg.cpp