Skip to content

Commit

Permalink
support macos
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Dec 11, 2020
1 parent 06e1601 commit 59766ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ const targets = ['src/processor/minidump_stackwalk', 'src/processor/minidump_dum
if (process.platform === 'linux') {
targets.push('src/tools/linux/dump_syms/dump_syms')
}
if (process.platform === 'darwin') {
targets.push('src/tools/mac/dump_syms/dump_syms')
}

spawnSync('make', ['-C', buildDir, '-j', require('os').cpus().length, ...targets], {
stdio: 'inherit'
})

0 comments on commit 59766ed

Please sign in to comment.