diff --git a/Scripts/ffmpeg-build-x86_64.sh b/Scripts/ffmpeg-build-x86_64.sh index 9cd070b3e..ef3647439 100755 --- a/Scripts/ffmpeg-build-x86_64.sh +++ b/Scripts/ffmpeg-build-x86_64.sh @@ -4,8 +4,9 @@ set -e # This is the commands used to build the ffmpeg libs provided here ./configure\ - --extra-cflags="-fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.13"\ - --extra-ldflags="-mmacosx-version-min=10.13"\ + --arch=x86_64\ + --extra-cflags="-arch x86_64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.13"\ + --extra-ldflags="-arch x86_64 -mmacosx-version-min=10.13"\ --enable-static --disable-shared\ --prefix="$1/x86_64"\ --incdir="$1/include"\