Skip to content

Commit f259d26

Browse files
authored
Merge pull request #285 from ratake/master
Fix compiling C++ libraries on iOS
2 parents 36ac1da + 9887569 commit f259d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ impl Build {
16281628
let target = self.get_target()?;
16291629
if target.contains("msvc") {
16301630
Ok(None)
1631-
} else if target.contains("darwin") {
1631+
} else if target.contains("apple") {
16321632
Ok(Some("c++".to_string()))
16331633
} else if target.contains("freebsd") {
16341634
Ok(Some("c++".to_string()))

0 commit comments

Comments
 (0)