summaryrefslogtreecommitdiffstats
path: root/third_party/rust/coremidi-sys/build.rs
blob: 682c19b2a05805500a0858acd9c430a3a7833cf0 (plain)
1
2
3
4
5
fn main() {
    if std::env::var("TARGET").expect("cannot read TARGET environment variable").contains("apple") {
        println!("cargo:rustc-link-lib=framework=CoreMIDI");
    }
}