Skip to content

Commit

Permalink
build heif as default on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Nov 7, 2023
1 parent d63bc64 commit 59bd8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ lutgen = {version ="0.9.0", features = ["lutgen-palettes"]}
libheif-rs = { version = "0.22.0", default-features = false, optional = true}

[env]
PKG_CONFIG_PATH = "libheif"
PKG_CONFIG_PATH = "libheif/build"

[features]
heif = ["libheif-rs"]
Expand Down
2 changes: 1 addition & 1 deletion build_mac.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export MACOSX_DEPLOYMENT_TARGET=10.15
cargo bundle --release
cargo bundle --release --features heif
# build universal binary
rustup target add aarch64-apple-darwin
cargo universal2
Expand Down

0 comments on commit 59bd8f6

Please sign in to comment.