remove unneeded link flags

This commit is contained in:
Maik Klein 2019-06-07 09:22:58 +02:00
parent 2224fda351
commit dd4d61a70a

View file

@ -2,10 +2,8 @@ use std::path::PathBuf;
fn main() {
let project_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()).join("external");
println!("cargo:rustc-link-search=native={}", project_dir.display());
println!("cargo:rustc-link-lib=framework=Foundation");
println!("cargo:rustc-link-lib=framework=Metal");
println!("cargo:rustc-link-lib=framework=AppKit");
println!("cargo:rustc-link-lib=framework=CoreGraphics");
println!("cargo:rustc-link-lib=framework=QuartzCore");
println!("cargo:rustc-link-lib=framework=IOKit");
println!("cargo:rustc-link-lib=framework=IOSurface");