mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Don't hardcode "Python" as the framework name, we have a variable for it:
$PYTHONFRAMEWORK.
This commit is contained in:
parent
6c09a21f66
commit
b36687a483
3 changed files with 8 additions and 8 deletions
8
configure
vendored
8
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 1.460 .
|
||||
# From configure.in Revision: 1.462 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.57 for python 2.4.
|
||||
#
|
||||
|
@ -9340,12 +9340,12 @@ case $ac_sys_system/$ac_sys_release in
|
|||
Darwin/1.3*)
|
||||
LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
|
||||
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/Python'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
|
||||
Darwin/*)
|
||||
LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
|
||||
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/Python'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
|
||||
esac
|
||||
|
||||
|
@ -9575,7 +9575,7 @@ then
|
|||
LINKFORSHARED="$extra_undefs -framework System"
|
||||
if test "$enable_framework"
|
||||
then
|
||||
LINKFORSHARED="$LINKFORSHARED -Wl,-F. -framework Python"
|
||||
LINKFORSHARED="$LINKFORSHARED -Wl,-F. -framework "'$(PYTHONFRAMEWORK)'
|
||||
fi
|
||||
LINKFORSHARED="$LINKFORSHARED $extra_frameworks";;
|
||||
OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue