diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-23 22:59:01 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-23 22:59:01 (GMT) |
commit | 97e3f0060c2607ca784a1895e7eb01cda5751eb6 (patch) | |
tree | 4ef4be21f20b1a9b58134556aaad9774c3478700 /configure.in | |
parent | c2dd2f0966ff7406cf69816d097c25ed3d498c1d (diff) | |
download | cpython-97e3f0060c2607ca784a1895e7eb01cda5751eb6.zip cpython-97e3f0060c2607ca784a1895e7eb01cda5751eb6.tar.gz cpython-97e3f0060c2607ca784a1895e7eb01cda5751eb6.tar.bz2 |
Disabled -prebind again when linking the interpreter on MacOSX. It caused
a serious slowdown when loading dynamic modules that depend on large shared
libraries or frameworks.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 0b893a5..06c4048 100644 --- a/configure.in +++ b/configure.in @@ -1164,11 +1164,10 @@ then # -u _PyMac_Error is needed to pull in the mac toolbox glue, which is # not used by the core itself but which needs to be in the core so # that dynamically loaded extension modules have access to it. - # -prebind causes the executable to assume dynamic libraries are at their - # preferred address, which speeds up startup. We specify it here - # in stead of in LDFLAGS because it does not seem to work for bundle - # plugins (as of OSX 10.2). - LINKFORSHARED="$extra_undefs -framework System -prebind" + # -prebind is no longer used, because it actually seems to give a + # slowdown in stead of a speedup, maybe due to the large number of + # dynamic loads Python does. + LINKFORSHARED="$extra_undefs -framework System" if test "$enable_framework" then LINKFORSHARED="$LINKFORSHARED -framework Python" |