aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qemu.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb
index e3b6aaad2..db7ed6d9d 100644
--- a/Library/Formula/qemu.rb
+++ b/Library/Formula/qemu.rb
@@ -20,6 +20,7 @@ class Qemu < Formula
depends_on "pixman"
depends_on "vde" => :optional
depends_on "sdl" => :optional
+ depends_on "gtk+" => :optional
def install
args = %W[
@@ -32,7 +33,7 @@ class Qemu < Formula
]
args << (build.with?("sdl") ? "--enable-sdl" : "--disable-sdl")
args << (build.with?("vde") ? "--enable-vde" : "--disable-vde")
- args << "--disable-gtk"
+ args << (build.with?("gtk+") ? "--enable-gtk" : "--disable-gtk")
ENV["LIBTOOL"] = "glibtool"
system "./configure", *args
system "make", "V=1", "install"