ci: change gnu libraries to musl

This commit is contained in:
iff 2025-02-12 17:00:03 +01:00
parent 28a59f8fda
commit 4a1ec3276d
2 changed files with 20 additions and 7 deletions

View file

@ -201,7 +201,7 @@ get_architecture() {
local _ostype _cputype _bitness _arch _clibtype
_ostype="$(uname -s)"
_cputype="$(uname -m)"
_clibtype="gnu"
_clibtype="musl"
if [ "${_ostype}" = Linux ]; then
if [ "$(uname -o || true)" = Android ]; then
@ -329,7 +329,7 @@ get_architecture() {
esac
# Detect 64-bit linux with 32-bit userland
if [ "${_ostype}" = unknown-linux-gnu ] && [ "${_bitness}" -eq 32 ]; then
if [ "${_ostype}" = unknown-linux-musl ] && [ "${_bitness}" -eq 32 ]; then
case ${_cputype} in
x86_64)
# 32-bit executable for amd64 = x32