libgit2 / libgit2sharp.nativebinaries

MIT License
29 stars 63 forks source link

Fix macOS cross compilation #134

Closed bording closed 3 years ago

bording commented 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.

Now it will use the RID to set OSXARCHITECTURE and only falls back to system architecture when no RID has been set.