From 849596facbc9efcf18048202a31c3fdb515f5baa Mon Sep 17 00:00:00 2001 From: The412Banner Date: Mon, 21 Sep 2026 09:18:20 -0400 Subject: [PATCH] CI: fold the platform-library list before matching it The list spans three lines inside one string, and the case pattern looked for the name between two spaces - so the last name on each line, followed by a newline, could never match. libaaudio.so is one of those, and the DirectAudio relay helper is the first library we ship that needs it. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51c5d5290..dbcf6cd2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -172,7 +172,9 @@ jobs: for so in *.so; do for need in $(readelf -d "$so" | sed -n 's/.*NEEDED.*\[\(.*\)\]/\1/p'); do [ -f "$need" ] && continue - case " $SYSTEM " in *" $need "*) continue ;; esac + # $SYSTEM spans lines; unquoted echo folds its newlines to spaces, or the last + # name on each line could never match (libaaudio.so did not, for the relay helper). + case " $(echo $SYSTEM) " in *" $need "*) continue ;; esac echo "::error::$so needs $need, which is neither in the apk nor a platform library" fail=1 done