Commit cef110ad authored by Mathieu Courtois's avatar Mathieu Courtois

boost: ignore version number from library name

parent ca23b4f8
......@@ -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:]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment