termux-packages/packages/lfortran/CMakeLists.txt.patch.before...

12 lines
333 B
Plaintext

--- a/CMakeLists.txt
+++ b/CMakeLists.mod.txt
@@ -107,7 +107,7 @@
# Find ZLIB with our custom finder before including LLVM since the finder for LLVM
# might search for ZLIB again and find the shared libraries instead of the static ones
- find_package(StaticZLIB REQUIRED)
+ find_package(ZLIB REQUIRED)
endif()