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()