You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
fixes build error on Linux after its introduction in #18949
The function expects now a return value. Returning NULL seems to work in
this case.
(cherry picked from commit 6c74f3de6d)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
3d3e4e62af
commit
9294978596
@@ -128,12 +128,12 @@ MonoString *godot_icall_BuildInstance_get_MSBuildPath() {
|
|||||||
if (build_tool == GodotSharpBuilds::XBUILD) {
|
if (build_tool == GodotSharpBuilds::XBUILD) {
|
||||||
if (xbuild_path.empty()) {
|
if (xbuild_path.empty()) {
|
||||||
WARN_PRINT("Cannot find binary for '" PROP_NAME_XBUILD "'");
|
WARN_PRINT("Cannot find binary for '" PROP_NAME_XBUILD "'");
|
||||||
return;
|
return NULL;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (msbuild_path.empty()) {
|
if (msbuild_path.empty()) {
|
||||||
WARN_PRINT("Cannot find binary for '" PROP_NAME_MSBUILD_MONO "'");
|
WARN_PRINT("Cannot find binary for '" PROP_NAME_MSBUILD_MONO "'");
|
||||||
return;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user