From 4548e54815c0a43e9da465a0af5a8a0964381903 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 25 Aug 2021 01:29:53 -0700 Subject: [PATCH] FFmpeg build scripts: also install yasm and cross build dependencies --- Scripts/ffmpeg-build-universal.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Scripts/ffmpeg-build-universal.sh b/Scripts/ffmpeg-build-universal.sh index d28e7f148..207207f51 100755 --- a/Scripts/ffmpeg-build-universal.sh +++ b/Scripts/ffmpeg-build-universal.sh @@ -9,6 +9,10 @@ info() { info "Installing build dependencies of FFmpeg with Homebrew" brew install --only-dependencies ffmpeg +brew install yasm + +info "Installing build dependencies for cross build with Homebrew" +arch -x86_64 /usr/local/bin/brew install --only-dependencies ffmpeg ARCHS="arm64 x86_64" LIBS="libavcodec libavformat libavutil libswresample" @@ -35,4 +39,4 @@ for lib in $LIBS; do rm $all_libs done -info "Done!" \ No newline at end of file +info "Done!"