mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
CMake fixes for OpenSSL (#274)
* CMake fixes for OpenSSL * Fix missed ldl link * Some refactor for static libraries linkage * Change library linkage order (GNU feature)
This commit is contained in:
@@ -232,7 +232,7 @@ if(APPLE)
|
||||
endif()
|
||||
|
||||
if(LINUX AND NOT ANDROID)
|
||||
set(LIBS ${LIBS} -static-libstdc++ -static-libgcc)
|
||||
set(LIBS ${LIBS} -static-libstdc++ -static-libgcc -ldl)
|
||||
link_directories(${CMAKE_CURRENT_LIST_DIR}/platforms/linux)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user