mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
nodejs-lts: use system libuv
See 06410b655878fe8825f10da90b9cc34a5e05ccf9 and https://github.com/void-linux/void-packages/issues/29034.
This commit is contained in:
parent
0d47340150
commit
6cc2e7320e
2 changed files with 26 additions and 1 deletions
25
srcpkgs/nodejs-lts/patches/shared-uv.patch
Normal file
25
srcpkgs/nodejs-lts/patches/shared-uv.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
--- deps/uvwasi/uvwasi.gyp.orig
|
||||||
|
+++ deps/uvwasi/uvwasi.gyp
|
||||||
|
@@ -18,9 +18,6 @@
|
||||||
|
'src/wasi_rights.c',
|
||||||
|
'src/wasi_serdes.c',
|
||||||
|
],
|
||||||
|
- 'dependencies': [
|
||||||
|
- '../uv/uv.gyp:libuv',
|
||||||
|
- ],
|
||||||
|
'direct_dependent_settings': {
|
||||||
|
'include_dirs': ['include']
|
||||||
|
},
|
||||||
|
@@ -31,6 +28,12 @@
|
||||||
|
'_POSIX_C_SOURCE=200112',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
+ [ 'node_shared_libuv=="false"', {
|
||||||
|
+ 'dependencies': [ '../uv/uv.gyp:libuv' ],
|
||||||
|
+ }],
|
||||||
|
+ [ 'node_shared_libuv=="true"', {
|
||||||
|
+ 'libraries': [ '-luv' ],
|
||||||
|
+ }]
|
||||||
|
],
|
||||||
|
}
|
||||||
|
]
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nodejs-lts'
|
# Template file for 'nodejs-lts'
|
||||||
pkgname=nodejs-lts
|
pkgname=nodejs-lts
|
||||||
version=12.21.0
|
version=12.21.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="node-v${version}"
|
wrksrc="node-v${version}"
|
||||||
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
||||||
hostmakedepends="pkg-config python libatomic-devel zlib-devel which
|
hostmakedepends="pkg-config python libatomic-devel zlib-devel which
|
||||||
|
|
Loading…
Add table
Reference in a new issue