static release build fix

This commit is contained in:
mccakit
2025-10-03 00:48:03 +03:00
committed by Sam Lantinga
parent fe92d0a7bd
commit 2e4bc73916

View File

@@ -1614,9 +1614,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()