diff options
| author | Nick Gravelyn | 2014-05-31 20:27:10 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-05-31 20:58:34 -0700 |
| commit | cdda7fe1e162876428e6d7acdc5820e7803c2013 (patch) | |
| tree | a49293a67d11fc72482d12b79368f847a1d782b4 /Library/Formula | |
| parent | 4c61b309c3268afa3c022d2ec4bee729d6b4ee5c (diff) | |
| download | homebrew-cdda7fe1e162876428e6d7acdc5820e7803c2013.tar.bz2 | |
SDL_mixer2: add universal option
Matches the other SDL2 libraries.
Closes #29741.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sdl2_mixer.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/sdl2_mixer.rb b/Library/Formula/sdl2_mixer.rb index 77d9b9d9d..2ea75d503 100644 --- a/Library/Formula/sdl2_mixer.rb +++ b/Library/Formula/sdl2_mixer.rb @@ -13,7 +13,10 @@ class Sdl2Mixer < Formula depends_on 'libmikmod' => :optional depends_on 'libvorbis' => :optional + option :universal + def install + ENV.universal_binary if build.universal? inreplace 'SDL2_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX system "./configure", "--prefix=#{prefix}", |
