shadPS4 build: pkg-config for the arm64 target so SDL3 has PulseAudio

This commit is contained in:
The412Banner committed 2026-09-26 06:16:23 -04:00
1 parent a9157db693
commit 9daf41e18f
1 file changed
+4
+4
View File
@@ -39,6 +39,10 @@ for p in $(ls tools/shadps4/patches/*.patch | sort); do
git -C "$SRC" apply --whitespace=nowarn "$WORK/$p"
done
# pkg-config answers for the arm64 target, not the x86-64 host: SDL3 finds PulseAudio (libpulse)
# only through it, and without it builds ALSA alone.
export PKG_CONFIG_LIBDIR=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
pkg-config --modversion libpulse
bash "$SRC/runtime/scripts/build-shadps4-arm64.sh"
BIN=$SRC/runtime/build/shadps4-arm64-stage/bin/shadps4-arm64
test -x "$BIN"