Commit 770654783eb for nodejs
commit 770654783eb1e1334988b1589f2028f678ab432a
Author: Yao Zi <me@ziyao.cc>
Date: Mon Nov 16 17:15:30 2026 +0800
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>
diff --git a/deps/merve/merve.gyp b/deps/merve/merve.gyp
index 7712fa9d20d..1b0ac18f6cc 100644
--- a/deps/merve/merve.gyp
+++ b/deps/merve/merve.gyp
@@ -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',
+ ],
+ }],
],
},
]