feat: win32 build support

main
paring 2023-05-03 18:43:41 +09:00
parent 0cfb7b5ffa
commit 96da216d55
2 changed files with 4 additions and 1 deletions

3
build-win32.sh Normal file
View File

@ -0,0 +1,3 @@
TOOLCHAIN=i686-w64-mingw32
FFMPEG_OS=win32 FFMPEG_MSBUILD=1 OPENH264_ARCH=i686 OPENH264_OS=msvc CC=cl CXX=cl AR=lib bash build.sh --arch i686

View File

@ -1,6 +1,6 @@
export ffmpegPath=$workDir/ffmpeg
git clone https://github.com/FFmpeg/FFmpeg $ffmpegPath --depth 1
git clone https://github.com/FFmpeg/FFmpeg -b release/6.0 $ffmpegPath --depth 1
cd $ffmpegPath