From c8f86f6ffa8ff14bb44f91d1d4259e1030ec64ee Mon Sep 17 00:00:00 2001 From: Struma Date: Wed, 16 Dec 2020 16:03:59 -0500 Subject: [PATCH] AudioToolbox is a macOS-specific dependency --- SDL2_sound/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SDL2_sound/meson.build b/SDL2_sound/meson.build index 1e94fadb..1e4fedcc 100644 --- a/SDL2_sound/meson.build +++ b/SDL2_sound/meson.build @@ -1,5 +1,8 @@ global_include_dirs += include_directories('.') -global_dependencies += dependency('AudioToolbox') + +if host_system == 'darwin' + global_dependencies += dependency('AudioToolbox') +endif global_sources += files( 'dr_flac.h',