mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
addon.gypi: define "BUILDING_NODE_EXTENSION"
This makes building on Windows use "dllimport" instead of "dllexport".
This commit is contained in:
parent
0148a450e1
commit
d38446448b
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
'target_conditions': [
|
||||
['_type=="loadable_module"', {
|
||||
'product_extension': 'node',
|
||||
'defines': [ 'BUILDING_NODE_EXTENSION' ],
|
||||
}]
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue