Index: pylib/gyp/generator/msvs.py |
=================================================================== |
--- pylib/gyp/generator/msvs.py (revision 1508) |
+++ pylib/gyp/generator/msvs.py (working copy) |
@@ -997,6 +997,7 @@ |
'shared_library': '2', # .dll |
'loadable_module': '2', # .dll |
'static_library': '4', # .lib |
+ 'standalone_static_library': '4', # .lib |
'none': '10', # Utility type |
}[spec['type']] |
except KeyError: |
@@ -1153,6 +1154,8 @@ |
'shared_library': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'), |
'loadable_module': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'), |
'static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\', '.lib'), |
+ 'standalone_static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\', |
+ '.lib'), |
} |
output_file_props = output_file_map.get(spec['type']) |
if output_file_props and int(spec.get('msvs_auto_output_file', 1)): |
@@ -2618,6 +2621,7 @@ |
'shared_library': 'Link', |
'loadable_module': 'Link', |
'static_library': 'Lib', |
+ 'standalone_static_library': 'Lib', |
} |
msbuild_tool = msbuild_tool_map.get(spec['type']) |
if msbuild_tool: |