X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/44e7b4de4073e6dc25681bb2fa6977bf5869689a..6b935f8206c0c303a172284ff580cacf46e706f8:/build.rs?ds=sidebyside diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..85b3d43 --- /dev/null +++ b/build.rs @@ -0,0 +1,6 @@ +fn main() { + let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default(); + if target_os == "macos" { + println!("cargo:rustc-link-lib=framework=ScriptingBridge"); + } +}