]> git.r.bdr.sh - rbdr/lyricli/blame - build.rs
Conditional build + better error
[rbdr/lyricli] / build.rs
CommitLineData
6b935f82
RBR
1fn main() {
2 let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
3 if target_os == "macos" {
4 println!("cargo:rustc-link-lib=framework=ScriptingBridge");
5 }
6}