3 'type': 'loadable_module',
6 '<(node_root_dir)/src',
7 '<(node_root_dir)/deps/uv/include',
8 '<(node_root_dir)/deps/v8/include'
11 'target_conditions': [
12 ['_type=="loadable_module"', {
13 'product_extension': 'node',
14 'defines': [ 'BUILDING_NODE_EXTENSION' ],
20 'libraries': [ '-undefined dynamic_lookup' ],
22 'DYLIB_INSTALL_NAME_BASE': '@rpath'
26 'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
27 # warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
28 # needs to have dll-interface to be used by clients of class 'node::ObjectWrap'
29 'msvs_disabled_warnings': [ 4251 ],
31 [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
32 'cflags': [ '-fPIC' ],