tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.8k stars 318 forks source link

osxcross-macports: update macOS -> darwin mapping #378

Closed jboekesteijn closed 1 year ago

jboekesteijn commented 1 year ago

macOS 11. should map to darwin_20 macOS 13. should map to darwin_22

macOS 12.* was already correctly set to darwin_21

This follows the logic from https://trac.macports.org/wiki/XcodeVersionInfo#macOSVersionMap and https://en.wikipedia.org/wiki/Darwin_(operating_system)#Darwin_20_onwards