diff --git a/Formula/gtk+.rb b/Formula/gtk+.rb index 4b227ba887..3ee2a91ed9 100644 --- a/Formula/gtk+.rb +++ b/Formula/gtk+.rb @@ -22,6 +22,7 @@ class Gtkx < Formula depends_on "gtk-doc" => :build end + option :universal option "with-quartz-relocation", "Build with quartz relocation support" depends_on "pkg-config" => :build @@ -47,13 +48,15 @@ class Gtkx < Formula end def install + ENV.universal_binary if build.universal? + args = ["--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}", "--disable-glibtest", "--enable-introspection=yes", "--with-gdktarget=quartz", - "--disable-visibility",] + "--disable-visibility"] args << "--enable-quartz-relocation" if build.with?("quartz-relocation")