diff --git a/src/global/CMakeLists.txt b/src/global/CMakeLists.txt index 46de512f5c9..704e0c7dc42 100644 --- a/src/global/CMakeLists.txt +++ b/src/global/CMakeLists.txt @@ -10,8 +10,9 @@ add_library(libglobal_objs OBJECT ${libglobal_srcs}) add_library(global-static STATIC $ $) +target_link_libraries(global-static common) add_library(global STATIC $ $) -target_link_libraries(global ceph-common ${DPDK_LIBRARIES} ${EXTRALIBS}) +target_link_libraries(global ceph-common ${EXTRALIBS})