Merge branch 'fix-boost-libname' into 'master'

boost: ignore version number from library name

See merge request ita1024/waf!2283
This commit is contained in:
ita1024 2020-04-14 06:34:56 +00:00
commit 816f466e32
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:]