diff --git a/Formula/jpeg.rb b/Formula/jpeg.rb index f6dcbe8346..a907ab34c3 100644 --- a/Formula/jpeg.rb +++ b/Formula/jpeg.rb @@ -11,10 +11,13 @@ class Jpeg < Formula sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard end + option :universal + def install - ENV.universal_binary + ENV.universal_binary if build.universal? # Builds static and shared libraries. - system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" system "make install" end end