summaryrefslogtreecommitdiff
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2007-11-22 10:14:26 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2007-11-22 10:14:26 +0000
commitce189e4e7b96de538b2a1b9a60742bac32081bc4 (patch)
tree4a66cbab15cb63805e6a379dc03223c0c2c332c4 /Lib/distutils/util.py
parent3903f50f2e15e935a4984ee91b6363140de9c17e (diff)
downloadcpython-git-ce189e4e7b96de538b2a1b9a60742bac32081bc4.tar.gz
A test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4. The end result is that
a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard). This patch fixes this issue.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index cfcc6a951e..731ee988b5 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -106,7 +106,7 @@ def get_platform ():
osname = "macosx"
- if (release + '.') < '10.4.' and \
+ if (release + '.') >= '10.4.' and \
get_config_vars().get('UNIVERSALSDK', '').strip():
# The universal build will build fat binaries, but not on
# systems before 10.4