mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:32:02 +08:00
e0f1ab414c
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.
15 lines
409 B
Diff
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)
|