Skip to content

Commit 2a35d5a

Browse files
targosRafaelGSS
authored andcommitted
build: fix V8 TLS config for shared lib builds
PR-URL: #58070 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent b0fb5a0 commit 2a35d5a

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_shared=="true"', {
57+
'defines': [
58+
'V8_TLS_USED_IN_LIBRARY', # Enable V8_TLS_LIBRARY_MODE.
59+
],
60+
}],
5661
],
5762
},
5863
'targets': [

0 commit comments

Comments
 (0)