portaudio: add --universal
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
99f26569e8
commit
9a115f297a
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,10 @@ class Portaudio < Formula
|
|||
|
||||
fails_with_llvm
|
||||
|
||||
def options
|
||||
[["--universal", "Build a universal binary."]]
|
||||
end
|
||||
|
||||
# Use the MacPort patches that fix compiling against newer OS X SDKs
|
||||
def patches
|
||||
{:p0 => [
|
||||
|
@ -19,6 +23,8 @@ class Portaudio < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make install"
|
||||
|
||||
|
|
Loading…
Reference in a new issue