Fix local libs

This commit is contained in:
Victor Tran 2021-01-29 01:11:26 +11:00
parent 26dcc2d3bd
commit 57d27d26e2

View file

@ -75,7 +75,7 @@ const fs = require('fs');
}
let embedLocalLibs = core.getInput("embed-local-libraries-mac").split(" ");
for (let lib of embedLibs) {
for (let lib of embedLocalLibs) {
if (lib == "") continue;
let libname = lib.substring(lib.lastIndexOf("/") + 1, lib.indexOf(".dylib"));