Merge pull request #2862 from Gian-Fr/fix-makefile

Fixed MakeFile for Linux
This commit is contained in:
PhilippC
2025-06-17 16:52:04 +02:00
committed by GitHub

View File

@@ -62,8 +62,8 @@ $(info )
# On linux use xabuild, on Windows use MSBuild.exe, otherwise (macos?) use msbuild.
ifeq ($(detected_OS),Linux)
MSBUILD_binary := xabuild
MSBUILD := $(shell $(WHICH) $(MSBUILD_binary))
MSBUILD_binary := dotnet
MSBUILD := $(shell $(WHICH) $(MSBUILD_binary)) build
else ifeq ($(detected_OS),Windows)
MSBUILD_binary := MSBuild.exe
MSBUILD := $(shell $(WHICH) $(MSBUILD_binary) 2> nul)