Change error value detection for glibc (#3487)

## Summary

See: #3486. This just fixes the error message, not the underlying bug.
This commit is contained in:
Charlie Marsh 2024-05-09 11:24:03 -04:00 committed by GitHub
parent 58d1cd2acb
commit f342d39f8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -469,7 +469,7 @@ def get_operating_system_and_architecture():
"major": musl_version[0],
"minor": musl_version[1],
}
elif glibc_version:
elif glibc_version != (-1, -1):
operating_system = {
"name": "manylinux",
"major": glibc_version[0],