|
|
@ -913,8 +913,10 @@ class CCompiler(Compiler): |
|
|
|
priority |
|
|
|
priority |
|
|
|
''' |
|
|
|
''' |
|
|
|
stlibext = ['a'] |
|
|
|
stlibext = ['a'] |
|
|
|
# We've always allowed libname to be both `foo` and `libfoo`, |
|
|
|
# We've always allowed libname to be both `foo` and `libfoo`, and now |
|
|
|
# and now people depend on it |
|
|
|
# people depend on it. Also, some people use prebuilt `foo.so` instead |
|
|
|
|
|
|
|
# of `libfoo.so` for unknown reasons, and may also want to create |
|
|
|
|
|
|
|
# `foo.so` by setting name_prefix to '' |
|
|
|
if strict and not isinstance(self, VisualStudioCCompiler): # lib prefix is not usually used with msvc |
|
|
|
if strict and not isinstance(self, VisualStudioCCompiler): # lib prefix is not usually used with msvc |
|
|
|
prefixes = ['lib'] |
|
|
|
prefixes = ['lib'] |
|
|
|
else: |
|
|
|
else: |
|
|
|