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\