mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable EXTRAPLATDIR. These together take care of copying Lib/plat-mac to the destination on darwin. Adding plat-mac is still done with a .pth file which is only created when you do a framework build. I'm not 100% happy with this, but fixing it really needs a functional pythonw in non-framework builds, and I don't think I can do that before 2.3a1 (but I'll try:-).
This commit is contained in:
parent
5efc50d8af
commit
83f898c86c
5 changed files with 44 additions and 84 deletions
15
configure
vendored
15
configure
vendored
|
@ -1388,6 +1388,20 @@ fi
|
|||
echo "$as_me:$LINENO: result: $MACHDEP" >&5
|
||||
echo "${ECHO_T}$MACHDEP" >&6
|
||||
|
||||
# And add extra plat-mac for darwin
|
||||
|
||||
echo "$as_me:$LINENO: checking EXTRAPLATDIR" >&5
|
||||
echo $ECHO_N "checking EXTRAPLATDIR... $ECHO_C" >&6
|
||||
if test -z "$EXTRAPLATDIR"
|
||||
then
|
||||
case $MACHDEP in
|
||||
darwin) EXTRAPLATDIR="\$(PLATMACDIRS)";;
|
||||
*) EXTRAPLATDIR="";;
|
||||
esac
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $EXTRAPLATDIR" >&5
|
||||
echo "${ECHO_T}$EXTRAPLATDIR" >&6
|
||||
|
||||
# checks for alternative programs
|
||||
echo "$as_me:$LINENO: checking for --without-gcc" >&5
|
||||
echo $ECHO_N "checking for --without-gcc... $ECHO_C" >&6
|
||||
|
@ -17296,6 +17310,7 @@ s,@PYTHONFRAMEWORKPREFIX@,$PYTHONFRAMEWORKPREFIX,;t t
|
|||
s,@PYTHONFRAMEWORKINSTALLDIR@,$PYTHONFRAMEWORKINSTALLDIR,;t t
|
||||
s,@MACHDEP@,$MACHDEP,;t t
|
||||
s,@SGI_ABI@,$SGI_ABI,;t t
|
||||
s,@EXTRAPLATDIR@,$EXTRAPLATDIR,;t t
|
||||
s,@CXX@,$CXX,;t t
|
||||
s,@MAINOBJ@,$MAINOBJ,;t t
|
||||
s,@EXEEXT@,$EXEEXT,;t t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue