]> granicus.if.org Git - python/commitdiff
A test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4...
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 22 Nov 2007 10:14:26 +0000 (10:14 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Thu, 22 Nov 2007 10:14:26 +0000 (10:14 +0000)
a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard).

This patch fixes this issue.

Lib/distutils/util.py

index cfcc6a951eff823828a52504342a8644363bd56a..731ee988b533955ab45c47f87d643d96539d67ba 100644 (file)
@@ -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