Skip to content

Commit d46095d

Browse files
committed
fix build
1 parent e7fe182 commit d46095d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

configure

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4333,6 +4333,15 @@ else
43334333
aarch64-apple-ios-simulator)
43344334
CARGO_TARGET="aarch64-apple-ios-sim"
43354335
;;
4336+
*-apple-darwin*)
4337+
cargo_host="$host"
4338+
case "$cargo_host" in
4339+
arm64-apple-*)
4340+
cargo_host="aarch64${cargo_host#arm64}"
4341+
;;
4342+
esac
4343+
CARGO_TARGET="${cargo_host%%-apple-darwin*}-apple-darwin"
4344+
;;
43364345
*)
43374346
CARGO_TARGET="$host"
43384347
;;

0 commit comments

Comments
 (0)