From a7b09f81548da43ef93a86a147248636c7d2cf59 Mon Sep 17 00:00:00 2001 From: Thiago Silva Date: Mon, 20 Mar 2023 18:53:14 -0300 Subject: [PATCH] Fix/add missing lib to nano_rpc build Fixes build error: CMakeFiles/nano_rpc.dir/entry.cpp.o: in function `(anonymous namespace)::endpoint_hash_raw(boost::asio::ip::basic_endpoint const&)': /workspace/nano/node/common.hpp:31: undefined reference to `nano::ip_address_hash_raw(boost::asio::ip::address const&, unsigned short)' /usr/bin/ld: CMakeFiles/nano_rpc.dir/entry.cpp.o: in function `(anonymous namespace)::endpoint_hash_raw(boost::asio::ip::basic_endpoint const&)': /workspace/nano/node/common.hpp:36: undefined reference to `nano::ip_address_hash_raw(boost::asio::ip::address const&, unsigned short)' --- nano/nano_rpc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/nano/nano_rpc/CMakeLists.txt b/nano/nano_rpc/CMakeLists.txt index 1b3be49a22..b9a07b0cf4 100644 --- a/nano/nano_rpc/CMakeLists.txt +++ b/nano/nano_rpc/CMakeLists.txt @@ -3,6 +3,7 @@ add_executable(nano_rpc entry.cpp) target_link_libraries( nano_rpc rpc + node secure Boost::filesystem Boost::log_setup