From 1b692e4f8f0e18bfdbc52ace02f2e57d19b348df Mon Sep 17 00:00:00 2001 From: paring Date: Tue, 23 May 2023 13:15:10 +0900 Subject: [PATCH] fix: build issue in win64 --- build-win.sh | 2 +- scripts/build-iconv.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-win.sh b/build-win.sh index ae362b4..7f9a3f0 100644 --- a/build-win.sh +++ b/build-win.sh @@ -1,4 +1,4 @@ export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf" export FFBUILD_PLATFORM="win" -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 +FFMPEG_OS=mingw32 OPENH264_ARCH=x86_64 OPENH264_OS=mingw_nt CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ AR=x86_64-w64-mingw32-gcc-ar bash build.sh --arch x86_64 diff --git a/scripts/build-iconv.sh b/scripts/build-iconv.sh index 3b48c30..7d9b3ab 100644 --- a/scripts/build-iconv.sh +++ b/scripts/build-iconv.sh @@ -14,7 +14,7 @@ rm iconv.tar.gz cd $iconvPath -./configure --prefix=$PREFIX --arch=$ARCH --enable-static --disable-shared --with-pic --enable-extra-encodings --disable-doc +./configure --prefix=$PREFIX --enable-static --disable-shared --with-pic --enable-extra-encodings --disable-doc make -j$JOBS