fix crash on android armv7 (#12997)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2025-09-22 17:02:53 +08:00 committed by GitHub
parent 753a2ab2b7
commit 9b9276e752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,6 +185,11 @@ elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Android")
--enable-decoder=h264_mediacodec \
--enable-decoder=hevc_mediacodec \
")
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
string(APPEND OPTIONS "\
--disable-iconv \
")
endif()
endif()
if(VCPKG_TARGET_IS_OSX)