tycho: use clang libc++ on mac
parent
ed50dd2d1c
commit
f328ced8f9
|
@ -54,7 +54,9 @@ fn main()
|
|||
println!("cargo:rustc-link-lib={}={}Widgets", ty, pre);
|
||||
println!("cargo:rustc-link-lib={}={}Gui", ty, pre);
|
||||
|
||||
if !cfg!(target_os = "macos") {
|
||||
if cfg!(target_os = "macos") {
|
||||
println!("cargo:rustc-link-lib=dylib=c++");
|
||||
} else {
|
||||
println!("cargo:rustc-link-lib=dylib=stdc++");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue