[rcore][android] Fix CMake shared build and improve --wrap WARNING docs (#5646)

This commit is contained in:
ghera
2026-03-13 18:53:39 +01:00
committed by GitHub
parent 4b9d802d4e
commit 38ed50c07b
2 changed files with 24 additions and 16 deletions

View File

@ -78,7 +78,7 @@ endif()
if (${PLATFORM} MATCHES "Android")
# Wrap fopen at link time so all code (including third-party libs) goes
# through __wrap_fopen, which handles Android APK asset loading
target_link_options(raylib INTERFACE -Wl,--wrap=fopen)
target_link_options(raylib PUBLIC -Wl,--wrap=fopen)
endif()
set_target_properties(raylib PROPERTIES