Skip to content

Commit

Permalink
fix: wrong type of build flag parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxu committed Oct 12, 2024
1 parent 611a917 commit 48440a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() {
// `cc` doesn't try to pick up on this automatically, but `clang` needs it to
// generate a "correct" Objective-C symbol table which better matches XCode.
// See https://github.com/h4llow3En/mac-notification-sys/issues/45.
.flag(format!("-mmacos-version-min={}", min_version))
.flag(&format!("-mmacos-version-min={}", min_version))
.compile("notify");

println!("cargo:rerun-if-env-changed={}", DEPLOYMENT_TARGET_VAR);
Expand Down

0 comments on commit 48440a3

Please sign in to comment.