Commit 87448819 authored by Victor Stinner's avatar Victor Stinner

Issue #13545: Fix platform.libc_version() is the SO version is missing

parent 7158e062
...@@ -181,7 +181,7 @@ def libc_ver(executable=sys.executable,lib='',version='', ...@@ -181,7 +181,7 @@ def libc_ver(executable=sys.executable,lib='',version='',
elif so: elif so:
if lib != 'glibc': if lib != 'glibc':
lib = 'libc' lib = 'libc'
if soversion > version: if soversion and soversion > version:
version = soversion version = soversion
if threads and version[-len(threads):] != threads: if threads and version[-len(threads):] != threads:
version = version + threads version = version + threads
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment