Skip to content

Commit cc7fe81

Browse files
committed
Link CoreFoundation on macOS
1 parent 99e895d commit cc7fe81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/roc_host/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ fn main() {
1111

1212
#[cfg(windows)]
1313
println!("cargo:rustc-link-lib=dylib=libapp");
14+
15+
#[cfg(target_os = "macos")]
16+
println!("cargo:rustc-link-lib=framework=CoreFoundation");
1417
}
1518

1619
/// Gets the path to the workspace root.

0 commit comments

Comments
 (0)