aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/sdl_sound.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/sdl_sound.rb b/Library/Formula/sdl_sound.rb
index f9fd3da76..06f055831 100644
--- a/Library/Formula/sdl_sound.rb
+++ b/Library/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"