From 8e8e14e43f1d07a9dc50bfb13cbacfd0470c415a Mon Sep 17 00:00:00 2001 From: yizhi <946185759@qq.com> Date: Wed, 26 Mar 2025 19:15:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95ffmpeg=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- thirdpart/build_ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdpart/build_ffmpeg.js b/thirdpart/build_ffmpeg.js index 415cefd..c0869ef 100644 --- a/thirdpart/build_ffmpeg.js +++ b/thirdpart/build_ffmpeg.js @@ -32,8 +32,8 @@ function build() { `--prefix=${FFMPEG_INSTALL_DIR}`, "--enable-static", "--enable-small", - "--toolchain=msvc", "--disable-programs", + ...isWindows ? ["--toolchain=msvc"] : [], ]; const configureFile = path.join(FFMPEG_SOURCE_DIR, "configure"); if (isWindows) args.unshift(configureFile);