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