diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-04-05 11:48:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-04-05 18:48:41 +0000 |
commit | c4da7ed843527ac75bc46d74e43de1b61fa5c5f5 (patch) | |
tree | 748839d978a2fbafdd5d334f83b86c3b5736779b /tools | |
parent | b30e3d4267cc0a22511e33741305366da8b7070a (diff) |
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>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/macos-setup.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/macos-setup.sh b/tools/macos-setup.sh index c9dee2f8d0..0a2e01b5ac 100755 --- a/tools/macos-setup.sh +++ b/tools/macos-setup.sh @@ -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 |