Skip to content

Commit

Permalink
webp: add back in universal option
Browse files Browse the repository at this point in the history
this is in the optional dependency tree of wine
  • Loading branch information
JCount committed Mar 2, 2017
1 parent e754a2b commit b4c28d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/webp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ class Webp < Formula
depends_on "libtool" => :build
end

option :universal

depends_on "libpng"
depends_on "jpeg" => :recommended
depends_on "libtiff" => :optional
depends_on "giflib" => :optional

def install
ENV.universal_binary if build.universal?
system "./autogen.sh" if build.head?

system "./configure", "--disable-dependency-tracking",
Expand Down

0 comments on commit b4c28d0

Please sign in to comment.