--- 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)
