Skip to content

Commit b99a89f

Browse files
ziyao233aduh95
authored andcommitted
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>
1 parent 2929073 commit b99a89f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎deps/merve/merve.gyp‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
'type': 'static_library',
99
'include_dirs': [
1010
'.',
11-
'../v8/third_party/simdutf',
1211
],
1312
'direct_dependent_settings': {
1413
'include_dirs': ['.'],
@@ -29,6 +28,11 @@
2928
'CLANG_CXX_LANGUAGE_STANDARD': 'c++20',
3029
},
3130
}],
31+
['node_shared_simdutf=="false"', {
32+
'include_dirs': [
33+
'../v8/third_party/simdutf',
34+
],
35+
}],
3236
],
3337
},
3438
]

0 commit comments

Comments
 (0)