0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 03:46:41 +00:00
termux-packages/packages/blade/packages-zlib-CMakeLists.txt.patch
2023-02-01 02:03:51 +00:00

12 lines
320 B
Diff

--- a/packages/zlib/CMakeLists.txt
+++ b/packages/zlib/CMakeLists.txt
@@ -22,7 +22,7 @@
target_link_libraries(zlib2 libblade)
add_dependencies(zlib2 blade)
-if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+if(NOT CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
set(ZLIB_USE_STATIC_LIBS ON)
endif()
include(FindZLIB)