Skip to content

Commit 6ef44c3

Browse files
Ugzuzgchearon
authored andcommitted
add {libc} to prebuilt binary package name (#1156)
* add {libc} to prebuilt binary package name * update changelog with libc binary
1 parent f49a011 commit 6ef44c3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
3232
* Prevent segfaults caused by creating a too large canvas
3333

3434
### Added
35-
* Prebuilds (#992)
35+
* Prebuilds (#992) with different libc versions to the prebuilt binary (#1140)
3636
* Support canvas.getContext("2d", {alpha: boolean}) and
3737
canvas.getContext("2d", {pixelFormat: "..."})
3838
* Support indexed PNG encoding.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"module_name": "canvas-prebuilt",
3636
"module_path": "build/Release",
3737
"host": "https://github.com/node-gfx/node-canvas-prebuilt/releases/download/",
38-
"remote_path": "v{version}"
38+
"remote_path": "v{version}",
39+
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
3940
},
4041
"dependencies": {
4142
"node-pre-gyp": "^0.9.0",

0 commit comments

Comments
 (0)