Blame SOURCES/http-parser-gyp-sharedlib.patch

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