diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-17 11:50:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 11:50:53 +0200 |
commit | edc3e6b0daf4acfeb3565f0f799d304d945e5a0a (patch) | |
tree | a423cc37009d6d712ca43f1532780e79d7f53d17 /modules/mono | |
parent | b0649d2718f48c812e29884c633a823b1cb78571 (diff) | |
parent | 6c74f3de6dbba53878d9ebe377a6c33ef2294afc (diff) |
Merge pull request #18967 from Valentactive/fix-mono-build-linux
fixes build error on Linux after its introduction in #18949
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/godotsharp_builds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp index ef54046f12..e29384aabf 100644 --- a/modules/mono/editor/godotsharp_builds.cpp +++ b/modules/mono/editor/godotsharp_builds.cpp @@ -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; } } |