summaryrefslogtreecommitdiff
path: root/net-vpn/i2pd/files/i2pd-2.25.0-link.patch
blob: 52c5dc7452731f52bc9ac393094af9f5411767a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
index e50bbc865..949f6a46e 100644
https://github.com/PurpleI2P/i2pd/issues/1353
--- a/build/CMakeLists.txt
+++ b/build/CMakeLists.txt
@@ -470,6 +470,7 @@ if (WITH_BINARY)
   if (WITH_STATIC)
     set(DL_LIB ${CMAKE_DL_LIBS})
   endif()
+  target_link_libraries(libi2pd ${Boost_LIBRARIES} ${ZLIB_LIBRARY})
   target_link_libraries( "${PROJECT_NAME}" libi2pd libi2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB} ${CMAKE_REQUIRED_LIBRARIES})
 
   install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)