fix framework linking on macos

This commit is contained in:
Christopher Brown
2023-05-24 21:49:22 +02:00
committed by Till Höppner
parent 2a51f73d10
commit fc89057e98
+1 -1
View File
@@ -1297,7 +1297,7 @@ fn print_pkg_config_libs(statik: bool, lib: &pkg_config::Library) {
println!("cargo:rustc-link-search=framework={}", val.display());
}
for val in &lib.frameworks {
println!("cargo:rustc-link=framework={}", val);
println!("cargo:rustc-link-lib=framework={}", val);
}
for val in &lib.libs {