diff options
author | Ned Deily <nad@python.org> | 2021-05-03 00:28:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 00:28:43 (GMT) |
commit | 870317825822c856490a32eee037fec8057690b1 (patch) | |
tree | 74c832aa140122ac31357d8150c744b5edf05a38 /Lib/_osx_support.py | |
parent | 33ec88ac81f23668293d101b83367b086c795e5e (diff) | |
download | cpython-870317825822c856490a32eee037fec8057690b1.zip cpython-870317825822c856490a32eee037fec8057690b1.tar.gz cpython-870317825822c856490a32eee037fec8057690b1.tar.bz2 |
bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827)
Only complain if the config target is >= 10.3 and the current target is
< 10.3. The check was originally added to ensure that incompatible
LDSHARED flags are not used, because -undefined dynamic_lookup is
used when building for 10.3 and later, and is not supported on older OS
versions. Apart from that, there should be no problem in general
with using an older target.
Authored-by: Joshua Root <jmr@macports.org>
Diffstat (limited to 'Lib/_osx_support.py')
-rw-r--r-- | Lib/_osx_support.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py index 72f4819..b7145ee 100644 --- a/Lib/_osx_support.py +++ b/Lib/_osx_support.py @@ -525,10 +525,10 @@ def get_platform_osx(_config_vars, osname, release, machine): try: macrelease = tuple(int(i) for i in macrelease.split('.')[0:2]) except ValueError: - macrelease = (10, 0) + macrelease = (10, 3) else: # assume no universal support - macrelease = (10, 0) + macrelease = (10, 3) if (macrelease >= (10, 4)) and '-arch' in cflags.strip(): # The universal build will build fat binaries, but not on |