From ed69f9c366b99845c9d02268833d0c687e58b8ab Mon Sep 17 00:00:00 2001 From: Roza 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',