mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
scons: wow, libtool version reporting. fun
This commit is contained in:
parent
3b541414ab
commit
20ffa2e7e6
@ -67,7 +67,7 @@ def get_libtool_version():
|
||||
cmd = 'glibtool'
|
||||
fallback_version = 2
|
||||
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()
|
||||
match = re.match(pattern,ret)
|
||||
if match:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user