Closed bording closed 3 years ago
Looks like the changes I suggested in https://github.com/libgit2/libgit2sharp.nativebinaries/pull/131/files#r739734082 ended up preventing macOS cross compilation from working because OSXARCHITECTURE was only being set based on the architecture of the system the script was running on.
OSXARCHITECTURE
Now it will use the RID to set OSXARCHITECTURE and only falls back to system architecture when no RID has been set.
Looks like the changes I suggested in https://github.com/libgit2/libgit2sharp.nativebinaries/pull/131/files#r739734082 ended up preventing macOS cross compilation from working because
OSXARCHITECTURE
was only being set based on the architecture of the system the script was running on.Now it will use the RID to set
OSXARCHITECTURE
and only falls back to system architecture when no RID has been set.