Skip to content

Commit

Permalink
🔨 Add CoreFoundation as dependency to boxer-sys
Browse files Browse the repository at this point in the history
The `boxer-sys` build is failing on CI sometimes for not finding the
`NSAlert` symbols in some macOS builds. This adds the `CoreFoundation`
framework as a dependency so that the build can succeed.
  • Loading branch information
bitwizeshift committed Dec 17, 2023
1 parent 8a2ce42 commit 8a3afb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frameworks/boxer-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fn compile_boxer() {
if cfg!(target_os = "macos") {
cfg.define("BUILD_SHARED_LIBS", "0");
build::rustc_link_lib!("static=Boxer");
build::rustc_link_lib!("framework=Cocoa");
} else {
cfg.define("BUILD_SHARED_LIBS", "1");
build::rustc_link_lib!("dylib=Boxer");
Expand Down

0 comments on commit 8a3afb5

Please sign in to comment.