diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index df8c7c7..f9ce851 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,11 +1,12 @@ add_library(common src/tfe_utils.cpp src/tfe_types.cpp src/tfe_future.cpp src/tfe_http.cpp src/tfe_plugin.cpp src/tfe_rpc.cpp) target_include_directories(common PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include) -target_link_libraries(common MESA_handle_logger libevent-static libevent-static-openssl libevent-static-pthreads) +target_link_libraries(common PUBLIC libevent-static libevent-static-openssl libevent-static-pthreads) +target_link_libraries(common PUBLIC MESA_handle_logger) ### UNITTEST CASE add_executable(test-addr test/test_addr.cpp src/tfe_types.cpp src/tfe_utils.cpp) target_include_directories(test-addr PRIVATE include) -target_link_libraries(test-addr gtest) +target_link_libraries(test-addr PRIVATE gtest MESA_handle_logger) include(GoogleTest) gtest_discover_tests(test-addr) diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index c1fa512..7234d44 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -285,8 +285,6 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - - future_promise_library_init(); tango_cache_global_init(); diff --git a/plugin/protocol/http/include/internal/http_common.h b/plugin/protocol/http/include/internal/http_common.h index ccc0b0b..85b5673 100644 --- a/plugin/protocol/http/include/internal/http_common.h +++ b/plugin/protocol/http/include/internal/http_common.h @@ -11,6 +11,7 @@ extern "C" struct http_plugin { + }; TAILQ_HEAD(hs_private_list, http_session_private);