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:
parent
8fe1370a74
commit
520aaac31f
2 changed files with 57 additions and 88 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue