]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport of fixes for #887242 and #1097739:
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 11 Jan 2005 13:49:02 +0000 (13:49 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 11 Jan 2005 13:49:02 +0000 (13:49 +0000)
commit904688b7bf5bfdb377468e9d5c7fc28a539211ed
treeead4051ca49fa7ce08f783c72bea17761efdfb2d
parentb3dbb01f1c52504a667cf8fb4f68ebc1adc3df98
Backport of fixes for #887242 and #1097739:

If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile, and distutils uses the same value to build extension
modules. If MACOSX_DEPLOYMENT_TARGET is not set it defaults to the
current OSX version.

If we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extensions directly against the dynamic library in the framework in
stead of against the framework. This will fix building extensions for 2.3
after 2.4 has been installed too.
Lib/distutils/sysconfig.py
Makefile.pre.in
configure
configure.in