mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
Merge pull request #541 from agnat/feature/define_target_name
Add target name preprocessor define
This commit is contained in:
commit
ad336cce6e
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
'<(node_root_dir)/deps/uv/include',
|
||||
'<(node_root_dir)/deps/v8/include'
|
||||
],
|
||||
'defines': ['NODE_GYP_MODULE_NAME=>(_target_name)'],
|
||||
|
||||
'target_conditions': [
|
||||
['_type=="loadable_module"', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue