Files
termux-packages/packages/gdal/disable-mono.patch
termux-pacman-bot 3f879738dc fix(main/gdal): explcitly disable C# and Java
- If Mono or OpenJDK are present in `$TERMUX_PREFIX` before building this package, failures will occur unless they are disabled preemptively.
2026-01-18 12:07:40 +00:00

12 lines
348 B
Diff

--- a/cmake/modules/thirdparty/FindMono.cmake
+++ b/cmake/modules/thirdparty/FindMono.cmake
@@ -119,7 +119,7 @@ else( UNIX )
PATHS ${csharp_mono_paths}
)
- if( EXISTS ${csharp_mono_compiler} )
+ if( FALSE )
# Determine version
find_program(
csharp_mono_interpreter # variable is added to the cache, we removed it below