mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-18 23:07:07 -05:00
The libraries are x86-64 code that runs under Rosetta 2 on Apple silicon, so the full build selects x86-64 itself: CMAKE_OSX_ARCHITECTURES defaults to x86_64, CMake is told the host processor is x86_64 instead of arm64, and libjpeg-turbo, which is configured by its own CMake run, gets the same values. Configuring the full build for another architecture fails with an error. Apple clang's libc++ needs -fexperimental-library for the C++20 library features the sources use. The prx libraries find each other through their run path. dyld does not know $ORIGIN, so on macOS it is @loader_path.