mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
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.
|
2
configure
generated
vendored
2
configure
generated
vendored
|
@ -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 a new issue