x264: fix 10-bit build flag

Closes Homebrew/homebrew#38112.
This commit is contained in:
Jack Nagel 2015-04-17 13:59:34 -04:00
parent 60516bcb9f
commit 4160972777

View file

@ -43,7 +43,7 @@ class X264 < Formula
elsif Formula["gpac"].installed?
args << "--disable-lsmash"
end
args << "--bit-depth=10" if build.include? "10-bit"
args << "--bit-depth=10" if build.with? "10-bit"
system "./configure", *args
system "make", "install"