From 40e8b4c49c437d8b680bb8660df0a3f1140dcde1 Mon Sep 17 00:00:00 2001 From: paring Date: Tue, 23 May 2023 15:29:01 +0900 Subject: [PATCH] fix: win32 build --- build-win32.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-win32.sh b/build-win32.sh index 1339329..83dfac4 100755 --- a/build-win32.sh +++ b/build-win32.sh @@ -1,4 +1,5 @@ export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf --enable-libmfx" export FFBUILD_PLATFORM="win" +export MFX_HOST=i686-w64-mingw32 FFMPEG_OS=mingw32 OPENH264_ARCH=i686 OPENH264_OS=mingw_nt CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-gcc-ar bash build.sh --arch i686