diff --git a/Formula/sdl_sound.rb b/Formula/sdl_sound.rb index f9fd3da76e..06f055831e 100644 --- a/Formula/sdl_sound.rb +++ b/Formula/sdl_sound.rb @@ -13,6 +13,8 @@ class SdlSound < Formula depends_on "libtool" => :build end + option :universal + depends_on 'pkg-config' => :build depends_on 'sdl' depends_on 'flac' => :optional @@ -23,6 +25,7 @@ class SdlSound < Formula depends_on 'physfs' => :optional def install + ENV.universal_binary if build.universal? if build.head? inreplace "bootstrap", "/usr/bin/glibtoolize", "#{Formula["libtool"].opt_bin}/glibtoolize"