Commit 3f15f99f authored by sletz's avatar sletz
Browse files

Check if ALSA is present to compile audioadapter on Linux.

git-svn-id: 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 92b6e8c7
......@@ -257,7 +257,7 @@ def build(bld):
process.env.append_value("LINKFLAGS", "-framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreServices")
process.uselib = 'SAMPLERATE'
if bld.env['BUILD_ADAPTER'] and bld.env['IS_LINUX']:
if bld.env['BUILD_ADAPTER'] and bld.env['IS_LINUX'] and bld.env['BUILD_DRIVER_ALSA']:
audio_adapter_sources += ['../linux/alsa/JackAlsaAdapter.cpp']
process = create_jack_process_obj(bld, 'audioadapter', audio_adapter_sources, serverlib)
process.uselib = ['ALSA', 'SAMPLERATE']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment