From 2e4bc739161edaef50b7689f527df99337a1d13f Mon Sep 17 00:00:00 2001 From: mccakit Date: Fri, 3 Oct 2025 00:48:03 +0300 Subject: [PATCH] static release build fix --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a0d478646..0db05bec5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1614,9 +1614,7 @@ if(ANDROID) endif() endif() endif() - if(TARGET SDL3-shared) - target_link_options(SDL3-shared PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym) - elseif(TARGET SDL3-static) + if(TARGET SDL3-static) target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym) endif()