Don't install PortAudio if we're not installing GTK+.

Change-Id: I99bad59b34ff0688cf527ae69b5e48e4c14e7380
Reviewed-on: https://code.wireshark.org/review/26758
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-04-05 11:48:01 -07:00
parent b30e3d4267
commit c4da7ed843
1 changed files with 6 additions and 1 deletions

View File

@ -138,7 +138,12 @@ fi
# scripts to work with 5.1, 5.2, and 5.3, as long as they only use Lua
# features present in all three versions)
LUA_VERSION=5.2.4
PORTAUDIO_VERSION=pa_stable_v190600_20161030
if [ "$GTK_VERSION" ]; then
#
# Only the GTK+ version of Wireshark requires PortAudio.
#
PORTAUDIO_VERSION=pa_stable_v190600_20161030
fi
SNAPPY_VERSION=1.1.4
LIBXML2_VERSION=2.9.4
LZ4_VERSION=1.7.5