mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 06:26:17 +00:00
23 lines
525 B
Bash
Executable File
23 lines
525 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 \
|
|
--with-intl=small-icu \
|
|
--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 files.
|
|
rm -rf "$1/usr/include/node/openssl"
|
|
rm -rf "$1/usr/lib/node_modules/npm/scripts"
|
|
rm -f "$1/usr/lib/node_modules/npm/configure"
|