aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/webp.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb
index 161ba014e..ae2557d0b 100644
--- a/Library/Formula/webp.rb
+++ b/Library/Formula/webp.rb
@@ -5,10 +5,13 @@ class Webp < Formula
url 'https://webp.googlecode.com/files/libwebp-0.3.1.tar.gz'
sha1 '52e3d2b6c0b80319baa33b8ebed89618769d9dd8'
+ option :universal
+
depends_on :libpng
depends_on 'jpeg' => :recommended
def install
+ ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--enable-libwebpmux",
"--enable-libwebpdemux",