Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 137e641

Browse files
committed
Add as the erl_xcomp_sysroot for apple silicon
1 parent 5318fe6 commit 137e641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build_otp.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ if [ ! -d otp_src_${version} ]; then
8080
export CC="$CC -target arm64-apple-macos11"
8181
export OTP_BUILD_FLAGS="$OTP_BUILD_FLAGS --host=arm64-apple-darwin --build=x86_64-apple-darwin"
8282
export arch="darwin-arm64"
83+
export erl_xcomp_sysroot="$OpenSSL_DIR"
8384
fi
8485

8586
# do the real OTP build

0 commit comments

Comments
 (0)