android-tools: build with go1.20, for real

This commit is contained in:
Andrew J. Hesford 2023-08-25 09:00:34 -04:00
parent 4bef5d83ad
commit 3444dedf2e

View File

@ -0,0 +1,11 @@
--- a/vendor/boringssl/CMakeLists.txt
+++ b/vendor/boringssl/CMakeLists.txt
@@ -38,7 +38,7 @@
endif()
else()
find_package(Perl REQUIRED)
- find_program(GO_EXECUTABLE go)
+ find_program(GO_EXECUTABLE NAMES go go1.20)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_CROSSCOMPILING)