vcpkg/ports/gklib/android.patch
Kai Pastor e0f1ab414c
[gklib] Update, fix android (#37877)
Fixes https://github.com/microsoft/vcpkg/issues/36791. (Alternative to
https://github.com/microsoft/vcpkg/pull/37416)
Update, remove obsolete patches, cleanup.
Enable shared linkage on !windows.
2024-04-01 15:28:40 -07:00

15 lines
409 B
Diff

diff --git a/GKlibSystem.cmake b/GKlibSystem.cmake
index 31a1cf1..848fd05 100644
--- a/GKlibSystem.cmake
+++ b/GKlibSystem.cmake
@@ -113,7 +113,9 @@ endif(GKRAND)
# Check for features.
+if(NOT ANDROID OR ANDROID_NATIVE_API_LEVEL GREATER 32)
check_include_file(execinfo.h HAVE_EXECINFO_H)
+endif()
if(HAVE_EXECINFO_H)
set(GKlib_COPTIONS "${GKlib_COPTIONS} -DHAVE_EXECINFO_H")
endif(HAVE_EXECINFO_H)