signalapp / boring

BoringSSL bindings for the Rust programming language.
13 stars 14 forks source link

boring-sys: Always treat macOS targets as a cross-compile, like iOS #13

Closed jrose-signal closed 2 years ago

jrose-signal commented 2 years ago

This fixes actual cross-compile cases, like compiling for Apple Silicon on an Intel Mac. It also makes builds more consistent by using the SDK in the installed Xcode instead of the host root headers, which is how Apple recommends people build anyway. (If you only have the command line tools installed, though, it should fall back to those without a problem.)