mirror of https://gitlab.com/ita1024/waf.git
Add suppport for finding lib boost_python in gentoo
* find libname pattern "libboost_python-2.7.so" Change-Id: I19a66a5992f7d077c2ed8e35e26e414ab194a7e6
This commit is contained in:
parent
37f49e5f55
commit
49236784b2
|
@ -280,9 +280,9 @@ def boost_get_libs(self, *k, **kw):
|
|||
for lib in lib_names:
|
||||
if lib == 'python':
|
||||
# for instance, with python='27',
|
||||
# accepts '-py27', '-py2', '27' and '2'
|
||||
# accepts '-py27', '-py2', '27', '-2.7' and '2'
|
||||
# but will reject '-py3', '-py26', '26' and '3'
|
||||
tags = '({0})?((-py{2})|(-py{1}(?=[^0-9]))|({2})|({1}(?=[^0-9]))|(?=[^0-9])(?!-py))'.format(tags_pat, kw['python'][0], kw['python'])
|
||||
tags = '({0})?((-py{2})|(-py{1}(?=[^0-9]))|({2})|(-{1}.{3})|({1}(?=[^0-9]))|(?=[^0-9])(?!-py))'.format(tags_pat, kw['python'][0], kw['python'], kw['python'][1])
|
||||
else:
|
||||
tags = tags_pat
|
||||
# Trying libraries, from most strict match to least one
|
||||
|
|
Loading…
Reference in New Issue