Skip to content

Commit 3a239a4

Browse files
committed
configure.ac: set BUILDEXEEXT and EXEEXT
1 parent 7bfeffb commit 3a239a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,6 +1381,7 @@ AC_ARG_WITH([suffix],
13811381
[Emscripten/browser*], [EXEEXT=.js],
13821382
[Emscripten/node*], [EXEEXT=.js],
13831383
[WASI/*], [EXEEXT=.wasm],
1384+
[MINGW*], [EXEEXT=.exe],
13841385
[EXEEXT=]
13851386
)
13861387
])
@@ -1404,6 +1405,10 @@ else
14041405
fi
14051406
rmdir CaseSensitiveTestDir
14061407

1408+
AS_CASE([$ac_sys_system],
1409+
[MINGW], [BUILDEXEEXT=".exe"]
1410+
)
1411+
14071412
case $ac_sys_system in
14081413
hp*|HP*)
14091414
case $CC in

0 commit comments

Comments
 (0)