mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
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:
commit
816f466e32
@ -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:]
|
||||
|
Loading…
Reference in New Issue
Block a user