ncurses: add determine_variants for abi version (#22647)
This commit is contained in:
parent
d805be02ec
commit
5b77046e20
1 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,15 @@ def determine_variants(cls, exes, version):
|
|||
break
|
||||
if usingSymlinks:
|
||||
variants += '+symlinks'
|
||||
|
||||
abiVersion = 'none'
|
||||
output = Executable(exe)('--abi-version', output=str, error=str)
|
||||
if '6' in output:
|
||||
abiVersion = '6'
|
||||
elif '5' in output:
|
||||
abiVersion = '5'
|
||||
variants += ' abi=' + abiVersion
|
||||
|
||||
results.append(variants)
|
||||
return results
|
||||
|
||||
|
|
Loading…
Reference in a new issue