Skip to content

Commit c629b5e

Browse files
slipherillwieckz
authored andcommitted
external_deps: disable SDL3 deps on unwanted audio libs
Fixes #1619.
1 parent b9810e6 commit c629b5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

external_deps/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ build_sdl3() {
478478
cd "${dir_name}"
479479

480480
cmake_build \
481-
-DSDL_TEST_LIBRARY=OFF
481+
-DSDL_TEST_LIBRARY=OFF \
482+
-DSDL_AUDIO=OFF
482483

483484
# Workaround for an SDL CMake bug, we need to provide
484485
# a bin/ directory even when nothing is used from it.
@@ -718,7 +719,7 @@ build_openal() {
718719

719720
"${download_only}" && return
720721

721-
local openal_cmake_args=(-DALSOFT_EXAMPLES=OFF)
722+
local openal_cmake_args=(-DALSOFT_EXAMPLES=OFF -DALSOFT_BACKEND_SNDIO=OFF)
722723

723724
case "${PLATFORM}" in
724725
*-i686-*|*-amd64-*)

0 commit comments

Comments
 (0)