macos: detect SDK path and version, then pass to the linker

Since we are already detecting the path to the native SDK,
if available, also fetch SDK's version and route that to the linker.
The linker can then use it to correctly populate LC_BUILD_VERSION
load command.
8317dbd1cbJakub Konka committed on 11/26/2021, 3:26:44 PMparent02d8ca7
5 files changedLine totals unavailable