Skip to content

Commit

Permalink
scons: Fix --build-3rdparty=pulseaudio
Browse files Browse the repository at this point in the history
Fix build when --build-3rdparty includes pulseaudio, but doesn't
include sndfile.
  • Loading branch information
gavv committed Aug 1, 2024
1 parent 563bdaa commit 1b6c47a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 3rdparty/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,14 @@ if 'pulseaudio' in autobuild_dependencies:
pa_deps = [
'ltdl',
'json-c',
'sndfile',
]

if 'alsa' in autobuild_dependencies:
pa_deps += ['alsa']

if 'sndfile' in autobuild_dependencies:
pa_deps += ['sndfile']

env.BuildThirdParty(thirdparty_versions, 'ltdl')
env.BuildThirdParty(thirdparty_versions, 'json-c')
env.BuildThirdParty(thirdparty_versions, 'pulseaudio',
Expand Down

0 comments on commit 1b6c47a

Please sign in to comment.