Skip to content

Commit

Permalink
Update prebuildify.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 2, 2023
1 parent bc7309c commit e2562ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .prebuild/prebuildify.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ const nodeBuildCmd = [
...nodeBuildTargets,
]

if (os.platform() === 'linux' && fs.existsSync('/etc/alpine-release')) {
nodeBuildCmd.push('--tag-libc')
}

console.log('Prebuildify for Node.js:');
console.log(nodeBuildCmd.join(' '));

Expand Down

0 comments on commit e2562ff

Please sign in to comment.