From b0b6ee17b1eaf48ba187c8b60ae624714a334083 Mon Sep 17 00:00:00 2001 From: qimiko <25387744+qimiko@users.noreply.github.com> Date: Sat, 22 Jun 2024 17:18:09 -0700 Subject: [PATCH] add libunwind for new mods --- cmake/Platform.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/Platform.cmake b/cmake/Platform.cmake index 01895c4c..a1fd167a 100644 --- a/cmake/Platform.cmake +++ b/cmake/Platform.cmake @@ -84,6 +84,7 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "Android32") target_link_libraries(${PROJECT_NAME} INTERFACE c + unwind ${GEODE_LOADER_PATH}/include/link/android32/libssl.a ${GEODE_LOADER_PATH}/include/link/android32/libcrypto.a ${GEODE_LOADER_PATH}/include/link/android32/libnghttp2.a @@ -107,6 +108,7 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "Android64") target_link_libraries(${PROJECT_NAME} INTERFACE c + unwind ${GEODE_LOADER_PATH}/include/link/android64/libssl.a ${GEODE_LOADER_PATH}/include/link/android64/libcrypto.a ${GEODE_LOADER_PATH}/include/link/android64/libnghttp2.a @@ -121,8 +123,8 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "Android64") ) # this should help with fixing exceptions - set(ANDROID_STL c++_shared) - # a little desperate + set(ANDROID_STL c++_shared) + # a little desperate add_definitions(-DANDROID_STL=c++_shared) set(GEODE_OUTPUT_NAME "Geode.android64")