darwin works the same as linux here

This commit is contained in:
partouf
2017-12-28 14:50:26 +01:00
parent e8a8c9e393
commit 74dae20e99
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ function compileCl(info, env) {
const compile = new Compile(info, env);
compile.asm = new asm.AsmParser(env.compilerProps);
info.supportsFiltersInBinary = true;
if (process.platform === "linux") {
if ((process.platform === "linux") || (process.platform === "darwin")) {
const origExec = compile.exec;
compile.exec = function (command, args, options) {
return origExec(command, args, options);
+1 -1
View File
@@ -30,7 +30,7 @@ function compileCl(info, env) {
var compile = new Compile(info, env);
compile.asm = new asm.AsmParser(env.compilerProps);
info.supportsFiltersInBinary = true;
if (process.platform == "linux") {
if ((process.platform === "linux") || (process.platform === "darwin")) {
var wine = env.gccProps("wine");
var origExec = compile.exec;
compile.exec = function (command, args, options) {