gst-plugins-bad@0.10: fix build with Xcode 8

This commit is contained in:
ilovezfs 2017-03-11 09:49:03 -08:00 committed by Mike McQuaid
parent a9329364cb
commit 5e3b8c2ecd

View file

@ -28,10 +28,20 @@ class GstPluginsBadAT010 < Formula
def install def install
ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing" ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing"
system "./configure", "--prefix=#{prefix}",
"--disable-debug", args = %W[
"--disable-dependency-tracking", --prefix=#{prefix}
"--disable-sdl" --disable-debug
--disable-dependency-tracking
--disable-sdl
]
# Prevent "fatal error: 'QTKit/QTKit.h' file not found"
if DevelopmentTools.clang_build_version >= 800
args << "--disable-apple_media"
end
system "./configure", *args
system "make" system "make"
system "make", "install" system "make", "install"
end end