scons: wow, libtool version reporting. fun
This commit is contained in:
parent
3b541414ab
commit
20ffa2e7e6
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def get_libtool_version():
|
||||||
cmd = 'glibtool'
|
cmd = 'glibtool'
|
||||||
fallback_version = 2
|
fallback_version = 2
|
||||||
version = None
|
version = None
|
||||||
pattern = r'(.*[^\S])(\d{1}\.\d+\.\d+)(.*[^\S])'
|
pattern = r'(.*[^\S])(\d{1}\.\d+\.?\d?)(.*[^\S])'
|
||||||
ret = os.popen('%s --version' % cmd).read()
|
ret = os.popen('%s --version' % cmd).read()
|
||||||
match = re.match(pattern,ret)
|
match = re.match(pattern,ret)
|
||||||
if match:
|
if match:
|
||||||
|
|
Loading…
Reference in a new issue