1 diff -Naur http-parser-2.1-orig/http_parser.gyp http-parser-2.1/http_parser.gyp
2 --- http-parser-2.1-orig/http_parser.gyp 2013-03-26 18:35:20.000000000 -0400
3 +++ http-parser-2.1/http_parser.gyp 2013-05-23 16:47:49.280488341 -0400
7 'defines': [ 'NDEBUG' ],
8 - 'cflags': [ '-Wall', '-Wextra', '-O3' ],
9 + 'cflags': [ '-Wall', '-Wextra', '-O3', '-fPIC' ],
12 'RuntimeLibrary': 0, # static release
16 'target_name': 'http_parser',
17 - 'type': 'static_library',
18 + 'type': 'shared_library',
19 'include_dirs': [ '.' ],
20 'direct_dependent_settings': {
21 'defines': [ 'HTTP_PARSER_STRICT=0' ],
25 'target_name': 'http_parser_strict',
26 - 'type': 'static_library',
27 + 'type': 'shared_library',
28 'include_dirs': [ '.' ],
29 'direct_dependent_settings': {
30 'defines': [ 'HTTP_PARSER_STRICT=1' ],