aboutsummaryrefslogtreecommitdiff
path: root/extra/nodejs/build
blob: e773f96918b2d9534f56c77210e6e63b714c0815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

# shellcheck disable=3045,2039
ulimit -n 4096 ||:

./configure \
    --prefix=/usr \
    --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

ninja -C out/Release
tools/install.py install "$1" /usr