diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2007-11-22 10:14:26 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2007-11-22 10:14:26 +0000 |
commit | ce189e4e7b96de538b2a1b9a60742bac32081bc4 (patch) | |
tree | 4a66cbab15cb63805e6a379dc03223c0c2c332c4 /Lib/distutils/util.py | |
parent | 3903f50f2e15e935a4984ee91b6363140de9c17e (diff) | |
download | cpython-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.py | 2 |
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 |