Fix libretro build on apple platforms

This commit is contained in:
Eric Warmenhoven 2023-07-28 03:37:07 -04:00
parent 4aa2b1fcac
commit c19aa05b60

View File

@ -23,7 +23,7 @@ endif()
if(NOT MSVC)
if (APPLE OR IOS)
target_link_libraries(ppsspp_libretro "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libretro.osx.def")
target_link_libraries(ppsspp_libretro objc "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libretro.osx.def")
else()
target_link_libraries(ppsspp_libretro "-Wl,-Bsymbolic")
endif()