测试ffmpeg编译
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user