mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-09-11 16:55:34 +03:00
osxcross-macports: update macOS -> darwin mapping
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
This commit is contained in:
parent
50e86ebca7
commit
26063b07e2
@ -81,8 +81,9 @@ case $MACOSX_DEPLOYMENT_TARGET in
|
||||
10.14* ) OSXVERSION="darwin_18" ;;
|
||||
10.15* ) OSXVERSION="darwin_19" ;;
|
||||
10.16* ) OSXVERSION="darwin_20" ;;
|
||||
11.* ) OSXVERSION="darwin_21" ;;
|
||||
11.* ) OSXVERSION="darwin_20" ;;
|
||||
12.* ) OSXVERSION="darwin_21" ;;
|
||||
13.* ) OSXVERSION="darwin_22" ;;
|
||||
* ) unsupportedDepTarget ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user