mirror of https://github.com/python/cpython
bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593)
Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to.
This commit is contained in:
parent
3257d49d23
commit
50ec3453c5
|
@ -0,0 +1 @@
|
|||
Respect `--with-suffix` when building on case-insensitive file systems.
|
|
@ -6296,7 +6296,7 @@ if test ! -d CaseSensitiveTestDir; then
|
|||
mkdir CaseSensitiveTestDir
|
||||
fi
|
||||
|
||||
if test -d casesensitivetestdir
|
||||
if test -d casesensitivetestdir && test -z "$EXEEXT"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
|
|
@ -1112,7 +1112,7 @@ if test ! -d CaseSensitiveTestDir; then
|
|||
mkdir CaseSensitiveTestDir
|
||||
fi
|
||||
|
||||
if test -d casesensitivetestdir
|
||||
if test -d casesensitivetestdir && test -z "$EXEEXT"
|
||||
then
|
||||
AC_MSG_RESULT(yes)
|
||||
BUILDEXEEXT=.exe
|
||||
|
|
Loading…
Reference in New Issue