static release build fix

(cherry picked from commit 2e4bc73916)
This commit is contained in:
mccakit
2025-10-03 00:48:03 +03:00
committed by Sam Lantinga
parent e60acdc477
commit db07924104

View File

@@ -1489,9 +1489,7 @@ if(ANDROID)
endif() endif()
endif() endif()
endif() endif()
if(TARGET SDL3-shared) if(TARGET SDL3-static)
target_link_options(SDL3-shared PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
elseif(TARGET SDL3-static)
target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym) target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
endif() endif()