mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
- Remove Guido's LINKCC=CXX experiment.
- Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL.
This commit is contained in:
parent
2174f80c66
commit
d9cf41c438
11
configure.in
11
configure.in
@ -221,10 +221,6 @@ DLLLIBRARY=''
|
||||
# linking.
|
||||
AC_SUBST(LINKCC)
|
||||
AC_MSG_CHECKING(LINKCC)
|
||||
if test -z "$LINKCC" -a ! -z "$CXX"
|
||||
then
|
||||
LINKCC="$CXX"
|
||||
fi
|
||||
if test -z "$LINKCC"
|
||||
then
|
||||
case $ac_sys_system in
|
||||
@ -647,7 +643,14 @@ AC_SUBST(CFLAGSFORSHARED)
|
||||
AC_MSG_CHECKING(CFLAGSFORSHARED)
|
||||
if test ! "$LIBRARY" = "$LDLIBRARY"
|
||||
then
|
||||
case $ac_sys_system in
|
||||
CYGWIN*)
|
||||
# Cygwin needs CCSHARED when building extension DLLs
|
||||
# but not when building the interpreter DLL.
|
||||
CFLAGSFORSHARED='';;
|
||||
*)
|
||||
CFLAGSFORSHARED='$(CCSHARED)'
|
||||
esac
|
||||
fi
|
||||
AC_MSG_RESULT($CFLAGSFORSHARED)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user