From 5c27dcf9766145c6b94c7013a3238f5f2f8c17b8 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 25 Aug 2021 01:27:06 -0700 Subject: [PATCH] FFmpeg build scripts: Add environment for Homebrew building --- Scripts/ffmpeg-build-arm64.sh | 4 ++++ Scripts/ffmpeg-build-x86_64.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Scripts/ffmpeg-build-arm64.sh b/Scripts/ffmpeg-build-arm64.sh index 4b2eaf437..f9f83d97b 100755 --- a/Scripts/ffmpeg-build-arm64.sh +++ b/Scripts/ffmpeg-build-arm64.sh @@ -2,6 +2,10 @@ set -e +export CPATH=/opt/homebrew/include +export LIBRARY_PATH=/opt/homebrew/lib +export PATH=/opt/homebrew/bin:$PATH + # This is the commands used to build the ffmpeg libs provided here ./configure\ --enable-cross-compile\ diff --git a/Scripts/ffmpeg-build-x86_64.sh b/Scripts/ffmpeg-build-x86_64.sh index aa8ae086a..a6ed68919 100755 --- a/Scripts/ffmpeg-build-x86_64.sh +++ b/Scripts/ffmpeg-build-x86_64.sh @@ -2,6 +2,10 @@ set -e +export CPATH=/usr/local/include +export LIBRARY_PATH=/usr/local/lib +export PATH=/usr/local/bin:$PATH + # This is the commands used to build the ffmpeg libs provided here ./configure\ --arch=x86_64\