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.
|
# 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user