repo/extra/nodejs/build
2020-03-04 22:57:53 +02:00

18 lines
331 B
Bash
Executable File

#!/bin/sh -e
./configure \
--shared-zlib \
--without-intl \
--without-etw \
--without-dtrace \
--without-report \
--without-node-snapshot \
--without-node-code-cache \
--ninja
ninja -C out/Release
tools/install.py install "$1" /usr
# Remove unneeded headers.
rm -rf "$1/usr/include/node/openssl"