Skip to content

Commit

Permalink
addon: whitespace tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed May 24, 2015
1 parent ad336cc commit be4ea59
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions addon.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@
'<(node_root_dir)/deps/uv/include',
'<(node_root_dir)/deps/v8/include'
],
'defines': ['NODE_GYP_MODULE_NAME=>(_target_name)'],
'defines': [
'NODE_GYP_MODULE_NAME=>(_target_name)'
],

'target_conditions': [
['_type=="loadable_module"', {
'product_extension': 'node',
'defines': [ 'BUILDING_NODE_EXTENSION' ],
'defines': [
'BUILDING_NODE_EXTENSION'
],
'xcode_settings': {
'OTHER_LDFLAGS': [ '-undefined dynamic_lookup' ],
'OTHER_LDFLAGS': [
'-undefined dynamic_lookup'
],
},
}],

Expand Down Expand Up @@ -51,7 +57,9 @@

'conditions': [
[ 'OS=="mac"', {
'defines': [ '_DARWIN_USE_64_BIT_INODE=1' ],
'defines': [
'_DARWIN_USE_64_BIT_INODE=1'
],
'xcode_settings': {
'DYLIB_INSTALL_NAME_BASE': '@rpath'
},
Expand All @@ -72,12 +80,18 @@
'-lDelayImp.lib',
'-l"<(node_root_dir)/$(ConfigurationName)/node.lib"'
],
# warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
# needs to have dll-interface to be used by clients of class 'node::ObjectWrap'
'msvs_disabled_warnings': [ 4251 ],
'msvs_disabled_warnings': [
# warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
# needs to have dll-interface to be used by
# clients of class 'node::ObjectWrap'
4251
],
}, {
# OS!="win"
'defines': [ '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64' ],
'defines': [
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64'
],
}],
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
'cflags': [ '-fPIC' ],
Expand Down

0 comments on commit be4ea59

Please sign in to comment.