aboutsummaryrefslogtreecommitdiff
path: root/extra/nodejs/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nodejs/build')
-rwxr-xr-xextra/nodejs/build11
1 files changed, 3 insertions, 8 deletions
diff --git a/extra/nodejs/build b/extra/nodejs/build
index 10458be2..e773f969 100755
--- a/extra/nodejs/build
+++ b/extra/nodejs/build
@@ -5,17 +5,12 @@ ulimit -n 4096 ||:
./configure \
--prefix=/usr \
- --with-intl=none \
+ --with-intl=small-icu \
+ --fully-static \
--ninja
# Remove broken subninja that we don't require anyway.
-clsed '/^subninja.*openssl-fipsmodule/d' out/Release/build.ninja
+# clsed '/^subninja.*openssl-fipsmodule/d' out/Release/build.ninja
ninja -C out/Release
tools/install.py install "$1" /usr
-
-# Change name of file that has a name longer than the value allowed by the ustar
-# format.
-cd "$1/usr/lib/node_modules/corepack/dist"
-mv vendors-_yarn*.js vendors-_yarn_berry_cache.js
-clsed '/yarn_berry/s/vendors-[^"]*/vendors-_yarn_berry_cache/' corepack.js