Merge pull request #2862 from Gian-Fr/fix-makefile
Fixed MakeFile for Linux
This commit is contained in:
4
Makefile
4
Makefile
@@ -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)
|
||||
|
Reference in New Issue
Block a user