瀏覽代碼

Fix for Vulkan loader related build error caused by incomplete alias

Fixes #37465. The #37369 commit which added an alias for linuxbsd
platform did not work with the latest branch.
ARebel 5 年之前
父節點
當前提交
7e8f7e642e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SConstruct

+ 1 - 0
SConstruct

@@ -258,6 +258,7 @@ if selected_platform in ["linux", "bsd", "x11"]:
         print('Platform "x11" has been renamed to "linuxbsd" in Godot 4.0. Building for platform "linuxbsd".')
     # Alias for convenience.
     selected_platform = "linuxbsd"
+    env_base["platform"] = selected_platform
 
 if selected_platform in platform_list:
     tmppath = "./platform/" + selected_platform