nodejs.org=16.20.0 requires being able to find dtrace

This commit is contained in:
Jacob Heider 2023-03-29 14:43:14 -04:00 committed by Jacob Heider
parent e9e9278248
commit 0f1e450259

View file

@ -27,6 +27,11 @@ build:
python.org: '>=3.7 <3.11' python.org: '>=3.7 <3.11'
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
script: | script: |
if test "{{ hw.platform }}" = "darwin"; then
# nodejs wants `dtrace` in the path.
export PATH="$PATH:/usr/sbin"
fi
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
env: env: