Fix libretro Mac x64 build, add Mac arm64 build

This commit is contained in:
Eric Warmenhoven 2023-01-30 20:33:40 -08:00
parent 7e29613df3
commit 3a2852f9e8
2 changed files with 16 additions and 3 deletions

View file

@ -38,7 +38,11 @@ include:
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
file: '/osx-cmake-x64.yml'
# MacOS arm64
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-cmake-arm64.yml'
################################## CELLULAR ################################
# Android
@ -92,7 +96,16 @@ libretro-build-osx-x64:
tags:
- macosx-packaging
extends:
- .libretro-osx-x64-make-default
- .libretro-osx-cmake-x86_64
- .core-defs
- .make-defs
# MacOS 64-bit
libretro-build-osx-arm64:
tags:
- macosx-packaging
extends:
- .libretro-osx-cmake-arm64
- .core-defs
- .make-defs

View file

@ -22,7 +22,7 @@ if(ANDROID)
endif()
if(NOT MSVC)
if (IOS)
if (APPLE OR IOS)
target_link_libraries(ppsspp_libretro "-Wl")
else()
target_link_libraries(ppsspp_libretro "-Wl,-Bsymbolic")