From d9b5449c7aabd07a2f62cb64c0a7e406918d80ec Mon Sep 17 00:00:00 2001 From: Mark Street Date: Mon, 18 Sep 2023 08:02:27 +0100 Subject: [PATCH] workaround for CL.EXE/cl.exe case sensitivity with wibo --- backend/coreapp/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/coreapp/compilers.py b/backend/coreapp/compilers.py index 612d3d0d7..9536f520c 100644 --- a/backend/coreapp/compilers.py +++ b/backend/coreapp/compilers.py @@ -1045,7 +1045,7 @@ def preset_from_name(name: str) -> Optional[Preset]: MSVC71 = MSVCCompiler( id="msvc7.1", platform=WIN9X, - cc=CL_WIN, + cc=CL_WIN.replace("CL.EXE", "cl.exe"), ) # Watcom doesn't like '/' in paths passed to it so we need to replace them. WATCOM_ARGS = ' -zq -i="Z:${COMPILER_DIR}/h" -i="Z:${COMPILER_DIR}/h/nt" ${COMPILER_FLAGS} -fo"Z:${OUTPUT}" "Z:${INPUT}"'