mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-06 02:26:34 +00:00
12 lines
322 B
Diff
12 lines
322 B
Diff
--- a/packages/ssl/CMakeLists.txt
|
|
+++ b/packages/ssl/CMakeLists.txt
|
|
@@ -17,7 +17,7 @@
|
|
target_link_libraries(ssl libblade)
|
|
add_dependencies(ssl blade)
|
|
|
|
-if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
+if(NOT CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
|
|
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
|
endif()
|
|
include(FindOpenSSL)
|