boost: ignore version number from library name

This commit is contained in:
Mathieu Courtois 2020-04-10 09:34:26 +02:00
parent ca23b4f860
commit cef110adc2
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def boost_get_libs(self, *k, **kw):
return None
# extensions from Tools.ccroot.lib_patterns
wo_ext = re.compile(r"\.(a|so|lib|dll|dylib)$")
wo_ext = re.compile(r"\.(a|so|lib|dll|dylib)(\.[0-9\.]+)?$")
def format_lib_name(name):
if name.startswith('lib') and self.env.CC_NAME != 'msvc':
name = name[3:]