sdl_sound: add universal option
Closes Homebrew/homebrew#32443. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
a7d51dbf03
commit
021516c27f
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue