Skip to content

Commit 48b3aee

Browse files
committed
build: fix V8 TLS config for shared lib builds
1 parent 59feb96 commit 48b3aee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353
'BUILDING_V8_SHARED', # Make V8_EXPORT visible.
5454
],
5555
}],
56+
['node_target_type=="shared_library"', {
57+
'defines': [
58+
'V8_TLS_USED_IN_LIBRARY', # Enable V8_TLS_LIBRARY_MODE.
59+
],
60+
}],
5661
],
5762
},
5863
'targets': [

0 commit comments

Comments
 (0)