diff options
| author | samueljohn | 2012-06-25 15:12:38 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-07-13 02:49:41 -0500 |
| commit | 6740810501e9a615aee9ab4c9502f9229b7e0c04 (patch) | |
| tree | de487a7c877cc091a95ae38c6f4d11455d41e05b /Library | |
| parent | 125eca96098384e38084410f95daa862e760adee (diff) | |
| download | homebrew-6740810501e9a615aee9ab4c9502f9229b7e0c04.tar.bz2 | |
ffmpeg: Xcode-only install needs additional flags
Two flags are necessary for Xcode-only systems: `--host-cflags` and
`--host-ldflags` are set to `ENV.cflags` and `ENV.ldflags`,
respectively.
Closes #13344.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index a21002459..7282d15f9 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -49,7 +49,10 @@ class Ffmpeg < Formula "--enable-nonfree", "--enable-hardcoded-tables", "--enable-libfreetype", - "--cc=#{ENV.cc}"] + "--cc=#{ENV.cc}", + "--host-cflags=#{ENV.cflags}", + "--host-ldflags=#{ENV.ldflags}" + ] args << "--enable-libx264" if Formula.factory('x264').linked_keg.exist? args << "--enable-libfaac" if Formula.factory('faac').linked_keg.exist? |
