parent
98cd0db396
commit
0dbbd44a46
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ class Portaudio <Formula
|
|||
|
||||
# remove arch flags else we get errors like:
|
||||
# lipo: can't figure out the architecture type
|
||||
inreplace "Makefile", /-arch (i386|x86_64|ppc|ppc64)/, ""
|
||||
['-arch x86_64', '-arch ppc64', '-arch i386', '-arch ppc'].each do |arch|
|
||||
inreplace "Makefile", arch, ""
|
||||
end
|
||||
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue