mirror of https://gitlab.com/ita1024/waf.git
related to #1477, add extension filter when matching lib names.
This commit is contained in:
parent
a112808610
commit
e0d6bcd1bb
|
@ -236,7 +236,7 @@ def boost_get_libs(self, *k, **kw):
|
|||
|
||||
def find_lib(re_lib, files):
|
||||
for file in files:
|
||||
if re_lib.search(file.name):
|
||||
if file.name.endswith(('.a', '.so', '.dylib', '.lib', '.dll')) and re_lib.search(file.name):
|
||||
self.to_log('Found boost lib %s' % file)
|
||||
return file
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue