Index: pylib/gyp/generator/ninja.py |
=================================================================== |
--- pylib/gyp/generator/ninja.py (revision 1205) |
+++ pylib/gyp/generator/ninja.py (working copy) |
@@ -834,16 +834,16 @@ |
# the product type. |
if self.flavor == 'win': |
DEFAULT_PREFIX = { |
+ 'loadable_module': '', |
+ 'shared_library': '', |
+ 'static_library': '', |
+ } |
+ else: |
+ DEFAULT_PREFIX = { |
'loadable_module': 'lib', |
'shared_library': 'lib', |
'static_library': 'lib', |
} |
- else: |
- DEFAULT_PREFIX = { |
- 'loadable_module': '', |
- 'shared_library': '', |
- 'static_library': '', |
- } |
prefix = spec.get('product_prefix', DEFAULT_PREFIX.get(type, '')) |
# Compute filename extension: the product extension, or a default |