From 111041731fa66cc83bb2c88c29433573252a0e90 Mon Sep 17 00:00:00 2001 From: wener Date: Sat, 18 Feb 2017 00:10:32 +0800 Subject: [PATCH] link libcork instead cork to ss-redir --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 13d053b1..1c48550e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -407,7 +407,7 @@ target_compile_definitions(ss-local PUBLIC -DMODULE_LOCAL) if (LINUX) add_executable(ss-redir ${SS_REDIR_SOURCE}) target_compile_definitions(ss-redir PUBLIC -DMODULE_REDIR) - target_link_libraries(ss-redir cork ev sodium mbedtls mbedcrypto libipset udns pcre) + target_link_libraries(ss-redir libcork ev sodium mbedtls mbedcrypto libipset udns pcre) endif (LINUX) target_link_libraries(ss-server libcork ev sodium mbedtls mbedcrypto libipset udns pcre)