2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/extra/nodejs/build
2020-03-10 09:37:41 +02:00

21 lines
428 B
Bash
Executable File

#!/bin/sh -e
# Fix a python 3 incompatibility.
sed -i 's|/ (8|// (8|' tools/gyp/pylib/gyp/generator/ninja.py
./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"