[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
commit 38ed50c07b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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