Skip to content

Commit a5820aa

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

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
@@ -475,7 +475,8 @@ build_sdl3() {
475475
cd "${dir_name}"
476476

477477
cmake_build \
478-
-DSDL_TEST_LIBRARY=OFF
478+
-DSDL_TEST_LIBRARY=OFF \
479+
-DSDL_AUDIO=OFF
479480

480481
# Workaround for an SDL CMake bug, we need to provide
481482
# a bin/ directory even when nothing is used from it.
@@ -713,7 +714,7 @@ build_openal() {
713714

714715
"${download_only}" && return
715716

716-
local openal_cmake_args=(-DALSOFT_EXAMPLES=OFF)
717+
local openal_cmake_args=(-DALSOFT_EXAMPLES=OFF -DALSOFT_BACKEND_SNDIO=OFF)
717718

718719
case "${PLATFORM}" in
719720
*-i686-*|*-amd64-*)

0 commit comments

Comments
 (0)