From ec9f322bcd9accddfb8c64820dfe941179c7e999 Mon Sep 17 00:00:00 2001 From: yizhi <946185759@qq.com> Date: Wed, 26 Mar 2025 19:17:25 +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 c54318a..3860cfc 100644 --- a/thirdpart/build_ffmpeg.js +++ b/thirdpart/build_ffmpeg.js @@ -44,7 +44,7 @@ function build() { //make if (0 != spawnSync("make", [ "-j", os.cpus().length.toString(), - ], { stdio: "inherit" }).status) throw new Error("Failed to build ffmpeg"); + ], { stdio: "inherit", cwd: FFMPEG_SOURCE_DIR }).status) throw new Error("Failed to build ffmpeg"); //install if (0 != spawnSync("make", [ "install",