wireshark: Don't disable-wireshark if your are going to build with Qt
Ensure that if build with qt is specified, we still build wireshark. Closes Homebrew/homebrew#21020. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
04a8e9251f
commit
e22909093a
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ class Wireshark < Formula
|
|||
"--with-gnutls",
|
||||
"--with-ssl"]
|
||||
|
||||
args << "--disable-wireshark" << "--disable-gtktest" unless build.with? "x"
|
||||
args << "--disable-wireshark" unless build.with? "x" or build.with? "qt"
|
||||
args << "--disable-gtktest" unless build.with? "x"
|
||||
args << "--with-qt" if build.with? "qt"
|
||||
|
||||
system "./configure", *args
|
||||
|
|
Loading…
Reference in a new issue