libvpx: fix 32-bit issues
parent
aea781bab8
commit
7cd5e9c0ef
|
@ -8,7 +8,11 @@ class Libvpx < Formula
|
|||
depends_on 'yasm' => :build
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
args = "--prefix=#{prefix}"
|
||||
# Configure detects 32-bit CPUs incorrectly.
|
||||
args << "--target=generic-gnu" unless MacOS.prefer_64_bit?
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue