build: fix V8 TLS config for shared lib builds

PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Michaël Zasso authored and RafaelGSS committed 2025-05-02 17:07:15 -03:00
1 parent b0fb5a09cf
commit 2a35d5a86c
1 file changed
+5
+5
View File
@@ -53,6 +53,11 @@
'BUILDING_V8_SHARED', # Make V8_EXPORT visible.
],
}],
['node_shared=="true"', {
'defines': [
'V8_TLS_USED_IN_LIBRARY', # Enable V8_TLS_LIBRARY_MODE.
],
}],
],
},
'targets': [