Merge pull request #18967 from Valentactive/fix-mono-build-linux

fixes build error on Linux after its introduction in #18949
This commit is contained in:
Rémi Verschelde 2018-05-17 11:50:53 +02:00 committed by GitHub
commit edc3e6b0da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,12 +128,12 @@ MonoString *godot_icall_BuildInstance_get_MSBuildPath() {
if (build_tool == GodotSharpBuilds::XBUILD) {
if (xbuild_path.empty()) {
WARN_PRINT("Cannot find binary for '" PROP_NAME_XBUILD "'");
return;
return NULL;
}
} else {
if (msbuild_path.empty()) {
WARN_PRINT("Cannot find binary for '" PROP_NAME_MSBUILD_MONO "'");
return;
return NULL;
}
}