Fixed MakeFile for Linux

This commit is contained in:
Gian-Fr
2025-05-01 16:21:02 +02:00
parent e5d28f0979
commit c1dbf171f5

View File

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