diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-02-13 23:36:57 +0100 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-02-13 23:37:46 +0100 |
commit | a3973fc95f7524ed032cae491330bef18cb64485 (patch) | |
tree | 2a06aafeb66bd60877a3c7f0b32fb3e79631f694 /src/net/CMakeLists.txt | |
parent | Merge pull request #4988 (diff) | |
download | monero-a3973fc95f7524ed032cae491330bef18cb64485.tar.xz |
debug compilation fix: net lib missing common deps
```
Undefined symbols for architecture x86_64:
"common_category()", referenced from:
make_error_code(common_error) in parse.cpp.o
make_error_code(common_error) in tor_address.cpp.o
"boost::system::detail::system_category_ncx()", referenced from:
boost::system::system_category() in parse.cpp.o
boost::system::system_category() in socks.cpp.o
boost::system::system_category() in libepee.a(net_utils_base.cpp.o)
"boost::system::detail::generic_category_ncx()", referenced from:
boost::system::generic_category() in parse.cpp.o
boost::system::generic_category() in socks.cpp.o
boost::system::generic_category() in tor_address.cpp.o
boost::system::generic_category() in libepee.a(string_tools.cpp.o)
boost::system::generic_category() in libepee.a(net_utils_base.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [src/net/libnet.dylib] Error 1
make[2]: *** [src/net/CMakeFiles/net.dir/all] Error 2
```
Diffstat (limited to 'src/net/CMakeLists.txt')
-rw-r--r-- | src/net/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/CMakeLists.txt b/src/net/CMakeLists.txt index a81372125..582314b97 100644 --- a/src/net/CMakeLists.txt +++ b/src/net/CMakeLists.txt @@ -30,5 +30,5 @@ set(net_sources error.cpp parse.cpp socks.cpp tor_address.cpp) set(net_headers error.h parse.h socks.h tor_address.h) monero_add_library(net ${net_sources} ${net_headers}) -target_link_libraries(net epee ${Boost_ASIO_LIBRARY}) +target_link_libraries(net common epee ${Boost_ASIO_LIBRARY}) |