build: do not include vendored simdutf with --shared-simdutf

Do not include the vendored simdutf when compiling merve if shared
simdutf is used to ensure the headers match the linked library.

Signed-off-by: Yao Zi <me@ziyao.cc>
PR-URL: https://github.com/nodejs/node/pull/67410
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Yao Zi authored and Antoine du Hamel committed 2026-11-16 11:03:07 +01:00
1 parent 70d8236efe
commit aa0572bada
1 file changed
+5 -1
+5 -1
View File
@@ -8,7 +8,6 @@
'type': 'static_library',
'include_dirs': [
'.',
'../v8/third_party/simdutf',
],
'direct_dependent_settings': {
'include_dirs': ['.'],
@@ -29,6 +28,11 @@
'CLANG_CXX_LANGUAGE_STANDARD': 'c++20',
},
}],
['node_shared_simdutf=="false"', {
'include_dirs': [
'../v8/third_party/simdutf',
],
}],
],
},
]