From 1e36d7e38848c676eb9187244cf7629d3c9a9493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20Kentt=C3=A4?= Date: Sat, 22 Jun 2024 19:31:52 +0300 Subject: [PATCH] Support compiling with MSYS2 tools in Windows Windows and MSYS2 need csc parameters to start with "-", not "/". Now setup.exe can be compiled with the csc in MSYS2 mono package. The EFI binaries can already be compiled with MSYS2 clang & lld. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index caffdf2..059cc91 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ src/GIT_DESCRIBE.cs: $(FILES_CS) $(FILES_C) $(FILES_H) $(file > $@,$(GIT_DESCRIBE_CS)) setup.exe: $(FILES_CS) src/GIT_DESCRIBE.cs - csc /nologo /define:GIT_DESCRIBE /out:$@ $^ + csc -nologo -define:GIT_DESCRIBE -out:$@ $^ certificate.cer pki: @echo