build: compile bundled simdutf conditionally

The --shared-simdutf flag was introduced in #52924, but the
implementation was incomplete.

Resolves #52914

PR-URL: https://github.com/nodejs/node/pull/55886
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Jakub Jirutka 2024-11-16 19:17:17 +01:00 committed by Node.js GitHub Bot
parent dd15563a47
commit 64c647e342
2 changed files with 7 additions and 6 deletions

View file

@ -220,6 +220,10 @@
'dependencies': [ 'deps/simdjson/simdjson.gyp:simdjson' ],
}],
[ 'node_shared_simdutf=="false"', {
'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf' ],
}],
[ 'node_shared_brotli=="false"', {
'dependencies': [ 'deps/brotli/brotli.gyp:brotli' ],
}],