We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c49ff2 + a87824b commit e69d81eCopy full SHA for e69d81e
src/lib.rs
@@ -182,6 +182,7 @@ impl Build {
182
"wasm32-unknown-emscripten" => "gcc",
183
"wasm32-unknown-unknown" => "gcc",
184
"aarch64-apple-ios" => "ios64-cross",
185
+ "x86_64-apple-ios" => "iossimulator-xcrun",
186
_ => panic!("don't know how to configure OpenSSL for {}", target),
187
};
188
@@ -249,6 +250,12 @@ impl Build {
249
250
configure.arg(arg);
251
}
252
253
+ if os.contains("iossimulator") {
254
+ if let Some(ref isysr) = ios_isysroot {
255
+ configure.env("CC", &format!("xcrun -sdk iphonesimulator cc -isysroot {}", sanitize_sh(&Path::new(isysr))));
256
+ }
257
258
+
259
if target == "x86_64-pc-windows-gnu" {
260
// For whatever reason OpenSSL 1.1.1 fails to build on
261
// `x86_64-pc-windows-gnu` in our docker container due to an
0 commit comments