Merge pull request #33477 from andir/wireshark-gtk

wireshark: explicitly disable the Qt build when building Gtk
This commit is contained in:
Orivej Desh
2018-01-06 06:35:11 +00:00
committed by GitHub

View File

@@ -23,7 +23,10 @@ in stdenv.mkDerivation {
sha256 = "0bpiby916k3k8bm7q8b1dflva6zs0a4ircskrck0d538dfcrb50q";
};
cmakeFlags = optional withGtk "-DBUILD_wireshark_gtk=TRUE";
cmakeFlags = [
"-DBUILD_wireshark_gtk=${if withGtk then "ON" else "OFF"}"
"-DBUILD_wireshark=${if withQt then "ON" else "OFF"}"
];
nativeBuildInputs = [
bison cmake extra-cmake-modules flex pkgconfig