mirror of https://github.com/python/cpython
Issue #13545: Fix platform.libc_version() is the SO version is missing
This commit is contained in:
parent
5b4b2da55d
commit
429a12b7b6
|
@ -183,7 +183,7 @@ def libc_ver(executable=sys.executable,lib='',version='',
|
|||
elif so:
|
||||
if lib != 'glibc':
|
||||
lib = 'libc'
|
||||
if soversion > version:
|
||||
if soversion and soversion > version:
|
||||
version = soversion
|
||||
if threads and version[-len(threads):] != threads:
|
||||
version = version + threads
|
||||
|
|
Loading…
Reference in New Issue