|
|
|
@ -236,11 +236,8 @@ set_host_triplet() |
|
|
|
# exactly, which will cause autoconf to assume we are not cross-compiling. |
|
|
|
# Therefore we construct a triplet here without a version number, which |
|
|
|
# will not match the autoconf "guessed" host machine triplet. |
|
|
|
if [ "${triplet_arch}" = "arm64" ]; then |
|
|
|
triplet_arch="aarch64" |
|
|
|
fi |
|
|
|
|
|
|
|
VLC_HOST_TRIPLET="${triplet_arch}-apple-darwin" |
|
|
|
VLC_HOST_TRIPLET="${VLC_HOST_TRIPLET/arm64/aarch64}" |
|
|
|
} |
|
|
|
|
|
|
|
# Set the VLC_BUILD_TRIPLET based on the architecture |
|
|
|
@ -252,7 +249,8 @@ set_host_triplet() |
|
|
|
set_build_triplet() |
|
|
|
{ |
|
|
|
local build_arch="$(uname -m | cut -d. -f1)" |
|
|
|
VLC_BUILD_TRIPLET="$(cc -arch "${build_arch}" -dumpmachine)" |
|
|
|
VLC_BUILD_TRIPLET="$(${VLC_HOST_CC} -arch "${build_arch}" -dumpmachine)" |
|
|
|
VLC_BUILD_TRIPLET="${VLC_BUILD_TRIPLET/arm64/aarch64}" |
|
|
|
} |
|
|
|
|
|
|
|
# Take SDK name, verify it exists and populate |
|
|
|
|