From e54994d8c92f2cf971405804dd6fbc4634732c27 Mon Sep 17 00:00:00 2001 From: Victor Miasnikov Date: Thu, 20 Jul 2023 12:24:12 +0300 Subject: [PATCH] Using of LLVM13 fix of winRes.tmpl from m3-sys--windowsResources--src I.e. adding in if statment this: . . . or equal (M3_BACKEND_MODE, "StAloneLlvmObj") . . . --- m3-sys/windowsResources/src/winRes.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m3-sys/windowsResources/src/winRes.tmpl b/m3-sys/windowsResources/src/winRes.tmpl index 6e00add7a5..704aaba782 100644 --- a/m3-sys/windowsResources/src/winRes.tmpl +++ b/m3-sys/windowsResources/src/winRes.tmpl @@ -24,7 +24,7 @@ readonly proc WindowsResource (file) is if stale (res, src) % Next line is all wrong, confusing mode and host and target. This % entire function should probably be in config files. - if (equal (M3_BACKEND_MODE, "0") or equal (M3_BACKEND_MODE, "C")) and not equal (TARGET, "AMD64_MINGW") + if (equal (M3_BACKEND_MODE, "0") or equal (M3_BACKEND_MODE, "C") or equal (M3_BACKEND_MODE, "StAloneLlvmObj")) and not equal (TARGET, "AMD64_MINGW") exec ("rc -DWIN32 -i", path_of(""), "-fo", res, src) else exec ("windres -DWIN32 -I", path_of(""), "-o", res, "-i", subst_chars(src, "\\", "/"))