1 --- node-v0.10.3/common.gypi~ 2013-04-03 20:30:57.000000000 +0300
2 +++ node-v0.10.3/common.gypi 2013-04-08 15:50:00.327121152 +0300
4 'component%': 'static_library', # NB. these names match with what V8 expects
5 'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
6 'gcc_version%': 'unknown',
7 + # For a shared library build, results in "libnode.so.<(soname_version)".
8 + 'soname_version%': '',
12 --- node-v0.10.3-o/node.gyp 2013-04-03 11:30:57.000000000 -0600
13 +++ node-v0.10.3/node.gyp 2013-04-03 19:30:22.000000000 -0600
24 - 'tools/msvs/genfiles',
26 - '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
28 + [ 'node_shared_libuv=="false"', {
29 + 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
35 + # node.gyp is added to the project by default.
40 + 'NODE_WANT_INTERNALS=1',
41 + 'ARCH="<(target_arch)"',
46 + 'target_name': 'libnode',
47 + 'type': 'shared_library',
48 + 'product_extension': 'so.<(soname_version)',
49 + 'soname_version': '<(soname_version)',
50 + 'cflags': ['-fPIC'],
53 'src/fs_event_wrap.cc',
58 'src/node_http_parser.cc',
59 'src/node_javascript.cc',
63 'src/node_stat_watcher.cc',
70 + 'tools/msvs/genfiles',
72 + '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
80 'NODE_WANT_INTERNALS=1',
81 'ARCH="<(target_arch)"',
82 --- node-v0.10.3-o/tools/install.py 2013-04-03 11:30:57.000000000 -0600
83 +++ node-v0.10.3/tools/install.py 2013-04-03 19:31:32.000000000 -0600
85 assert(0) # unhandled action type
89 action(['out/Release/node'], 'bin/node')
90 + action(['out/Release/lib.target/libnode.so.10'], lib_dir + '/libnode.so.10.3.0')
92 # install unconditionally, checking if the platform supports dtrace doesn't
93 # work when cross-compiling and besides, there's at least one linux flavor
95 if 'true' == variables.get('node_install_npm'): npm_files(action)
98 - global dst_dir, node_prefix, target_defaults, variables
99 + global dst_dir, node_prefix, target_defaults, variables, lib_dir
101 # chdir to the project's top-level directory
102 os.chdir(abspath(os.path.dirname(__file__), '..'))
104 dst_dir = node_prefix = variables.get('node_prefix') or '/usr/local'
105 if len(args) > 2: dst_dir = abspath(args[2] + '/' + dst_dir)
108 + if len(args) > 3: lib_dir = args[3]
110 cmd = args[1] if len(args) > 1 else 'install'
111 if cmd == 'install': return files(install)
112 if cmd == 'uninstall': return files(uninstall)