测试ffmpeg编译
This commit is contained in:
@ -44,7 +44,7 @@ function build() {
|
|||||||
//make
|
//make
|
||||||
if (0 != spawnSync("make", [
|
if (0 != spawnSync("make", [
|
||||||
"-j", os.cpus().length.toString(),
|
"-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
|
//install
|
||||||
if (0 != spawnSync("make", [
|
if (0 != spawnSync("make", [
|
||||||
"install",
|
"install",
|
||||||
|
Reference in New Issue
Block a user