Skip to content

Commit d1cf190

Browse files
committed
ignore detect-libc output when not on linux
1 parent 69f388d commit d1cf190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prebuild/tarball.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FILENAME=$(
33
node -e "
44
var p = process, v = p.versions, libc = require('detect-libc').familySync() || 'unknown';
5-
if (libc === 'glibc') libc = '';
5+
if (p.platform !== 'linux' || libc === 'glibc') libc = '';
66
const tagName = p.env.UPLOAD_TO || p.env.CANVAS_VERSION_TO_BUILD;
77
console.log('canvas-' + tagName + '-napi-v7-' + p.platform + libc + '-' + p.arch);
88
"

0 commit comments

Comments
 (0)