FFmpeg build scripts: Support cross compiling x86_64 version from arm64
parent
48c43167b6
commit
49b0bc52b7
|
@ -4,8 +4,9 @@ set -e
|
||||||
|
|
||||||
# This is the commands used to build the ffmpeg libs provided here
|
# This is the commands used to build the ffmpeg libs provided here
|
||||||
./configure\
|
./configure\
|
||||||
--extra-cflags="-fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.13"\
|
--arch=x86_64\
|
||||||
--extra-ldflags="-mmacosx-version-min=10.13"\
|
--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\
|
--enable-static --disable-shared\
|
||||||
--prefix="$1/x86_64"\
|
--prefix="$1/x86_64"\
|
||||||
--incdir="$1/include"\
|
--incdir="$1/include"\
|
||||||
|
|
Loading…
Reference in New Issue