[rcore][android] Fix CMake shared build and improve --wrap WARNING docs (#5646)
This commit is contained in:
parent
4b9d802d4e
commit
38ed50c07b
1 changed files with 24 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue