Commit d4543ac9 authored by hizzlekizzle's avatar hizzlekizzle Committed by James
Browse files

add conditional for static linking libstdc++ for libretro (#56)

this should allow the buildbot linux x64 cores to be compatible with snap et al "universal" packages and older distros without making a bloated binary unnecessarily.
parent a0c222c0
......@@ -21,5 +21,8 @@ create_target_directory_groups(citra_libretro)
target_link_libraries(citra_libretro PRIVATE common core)
target_link_libraries(citra_libretro PRIVATE glad libretro)
target_link_libraries(citra_libretro PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
if(DEFINED LIBRETRO_STATIC)
target_link_libraries(citra_libretro PRIVATE -static-libstdc++)
endif()
set_target_properties(citra_libretro PROPERTIES PREFIX "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment