|
|
321eb1 |
--- http_parser.gyp~ 2012-11-27 15:40:11.721398004 -0700
|
|
|
321eb1 |
+++ http_parser.gyp 2012-11-27 15:40:11.721398004 -0700
|
|
|
321eb1 |
@@ -12,7 +12,7 @@
|
|
|
321eb1 |
# RuntimeLibrary MUST MATCH across the entire project
|
|
|
321eb1 |
'Debug': {
|
|
|
321eb1 |
'defines': [ 'DEBUG', '_DEBUG' ],
|
|
|
321eb1 |
- 'cflags': [ '-Wall', '-Wextra', '-O0', '-g', '-ftrapv' ],
|
|
|
321eb1 |
+ 'cflags': [ '-Wall', '-Wextra', '-g', '-ftrapv' ],
|
|
|
321eb1 |
'msvs_settings': {
|
|
|
321eb1 |
'VCCLCompilerTool': {
|
|
|
321eb1 |
'RuntimeLibrary': 1, # static debug
|
|
|
321eb1 |
@@ -21,7 +21,7 @@
|
|
|
321eb1 |
},
|
|
|
321eb1 |
'Release': {
|
|
|
321eb1 |
'defines': [ 'NDEBUG' ],
|
|
|
321eb1 |
- 'cflags': [ '-Wall', '-Wextra', '-O3' ],
|
|
|
321eb1 |
+ 'cflags': [ '-Wall', '-Wextra' ],
|
|
|
321eb1 |
'msvs_settings': {
|
|
|
321eb1 |
'VCCLCompilerTool': {
|
|
|
321eb1 |
'RuntimeLibrary': 0, # static release
|
|
|
321eb1 |
@@ -50,7 +50,8 @@
|
|
|
321eb1 |
'targets': [
|
|
|
321eb1 |
{
|
|
|
321eb1 |
'target_name': 'http_parser',
|
|
|
321eb1 |
- 'type': 'static_library',
|
|
|
321eb1 |
+ 'type': 'shared_library',
|
|
|
321eb1 |
+ 'product_extension': 'so.2',
|
|
|
321eb1 |
'include_dirs': [ '.' ],
|
|
|
321eb1 |
'direct_dependent_settings': {
|
|
|
321eb1 |
'defines': [ 'HTTP_PARSER_STRICT=0' ],
|
|
|
321eb1 |
@@ -73,7 +74,8 @@
|
|
|
321eb1 |
|
|
|
321eb1 |
{
|
|
|
321eb1 |
'target_name': 'http_parser_strict',
|
|
|
321eb1 |
- 'type': 'static_library',
|
|
|
321eb1 |
+ 'type': 'shared_library',
|
|
|
321eb1 |
+ 'product_extension': 'so.2',
|
|
|
321eb1 |
'include_dirs': [ '.' ],
|
|
|
321eb1 |
'direct_dependent_settings': {
|
|
|
321eb1 |
'defines': [ 'HTTP_PARSER_STRICT=1' ],
|