fix(nodejs)

This commit is contained in:
Jacob Heider 2023-04-14 17:24:35 -04:00 committed by Jacob Heider
parent 940855d93c
commit 37425ba158

View file

@ -27,6 +27,13 @@ build:
python.org: '>=3.7 <3.11'
freedesktop.org/pkg-config: ^0.29
script: |
# This is hacky, but it works.
# Knowing the precise versions to test is difficult, since
# nodejs develops multiple majors in sync.
if ./configure --help | grep -- --without-corepack; then
ARGS="$ARGS --without-corepack"
fi
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
@ -34,7 +41,6 @@ build:
- --without-npm
- --prefix={{ prefix }}
# like, maybe we should include this?
- --without-corepack
- --with-intl=system-icu
- --shared-openssl
- --shared-zlib