Skip to content

Commit

Permalink
Fix compilation for macos-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
zb3 committed Dec 6, 2023
1 parent 316a066 commit 4b85d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions natives/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ elif [[ $variant == "macos-"* ]]; then


elif [ "$variant" = "macos-arm64" ]; then
export HOST=aarch64-apple-darwin
export CROSS_COMPILE=/usr/bin/$HOST-
export HOST=aarch64-apple-${DARWIN_VERSION}
export CROSS_COMPILE=/osxcross/target/bin/$HOST-

host_arch=aarch64
fi
Expand Down

0 comments on commit 4b85d0c

Please sign in to comment.