Patch #404275: generate a reasonable platform string for AIX
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index d4891b3..009ba6c 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -54,6 +54,8 @@
# fall through to standard osname-release-machine representation
elif osname[:4] == "irix": # could be "irix64"!
return "%s-%s" % (osname, release)
+ elif osname[:3] == "aix":
+ return "%s-%s.%s" % (osname, version, release)
elif osname[:6] == "cygwin":
rel_re = re.compile (r'[\d.]+')
m = rel_re.match(release)