2019-07-22 23:15:26 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-10-23 08:14:44 +00:00
|
|
|
./configure \
|
2020-03-04 20:48:52 +00:00
|
|
|
--shared-zlib \
|
2021-07-07 21:00:14 +00:00
|
|
|
--shared-openssl \
|
2021-06-30 18:11:48 +00:00
|
|
|
--with-intl=none \
|
2020-03-04 20:48:52 +00:00
|
|
|
--without-etw \
|
|
|
|
--without-dtrace \
|
|
|
|
--without-report \
|
2020-03-04 20:57:53 +00:00
|
|
|
--without-node-snapshot \
|
|
|
|
--without-node-code-cache \
|
2020-09-30 05:01:33 +00:00
|
|
|
--partly-static \
|
2020-03-04 20:48:52 +00:00
|
|
|
--ninja
|
2019-07-22 23:15:26 +00:00
|
|
|
|
2020-03-04 20:48:52 +00:00
|
|
|
ninja -C out/Release
|
|
|
|
tools/install.py install "$1" /usr
|
2020-03-04 20:57:53 +00:00
|
|
|
|
2020-08-06 09:30:02 +00:00
|
|
|
# Remove unneeded files.
|
2021-07-06 13:04:54 +00:00
|
|
|
rm -rf \
|
|
|
|
"$1/usr/include/node/openssl" \
|
|
|
|
"$1/usr/share/doc" \
|
|
|
|
"$1/usr/share/systemtap" \
|
|
|
|
"$1/usr/lib/node_modules/npm/scripts" \
|
|
|
|
"$1/usr/lib/node_modules/npm/configure"
|