Skip to content

Commit 50ec345

Browse files
authored
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.
1 parent 3257d49 commit 50ec345

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Respect `--with-suffix` when building on case-insensitive file systems.

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ if test ! -d CaseSensitiveTestDir; then
11121112
mkdir CaseSensitiveTestDir
11131113
fi
11141114

1115-
if test -d casesensitivetestdir
1115+
if test -d casesensitivetestdir && test -z "$EXEEXT"
11161116
then
11171117
AC_MSG_RESULT(yes)
11181118
BUILDEXEEXT=.exe

0 commit comments

Comments
 (0)