diff --git a/.prebuild/prebuildify.js b/.prebuild/prebuildify.js index a2d82d2a9..c61e00719 100644 --- a/.prebuild/prebuildify.js +++ b/.prebuild/prebuildify.js @@ -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(' '));