We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22e8ced commit 67b162fCopy full SHA for 67b162f
src/bootstrap/native.rs
@@ -176,7 +176,7 @@ impl Step for Llvm {
176
}
177
178
// Are we compiling for iOS/tvOS?
179
- if target.contains("apple") && !target.contains("darwin") {
+ if target.contains("apple-ios") || target.contains("apple-tvos") {
180
// These two defines prevent CMake from automatically trying to add a MacOSX sysroot, which leads to a compiler error.
181
cfg.define("CMAKE_OSX_SYSROOT", "/");
182
cfg.define("CMAKE_OSX_DEPLOYMENT_TARGET", "");
0 commit comments