mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
SCons: Fix Windows cross-compilation from Linux after #86717
This commit is contained in:
parent
99ac3d332a
commit
b4e519b07f
2 changed files with 22 additions and 3 deletions
|
@ -5,7 +5,13 @@ import urllib.request
|
|||
import shutil
|
||||
|
||||
# Base Godot dependencies path
|
||||
deps_folder = os.path.join(f"{os.getenv('LOCALAPPDATA')}", "Godot", "build_deps")
|
||||
# If cross-compiling (no LOCALAPPDATA), we install in `bin`
|
||||
deps_folder = os.getenv("LOCALAPPDATA")
|
||||
if deps_folder:
|
||||
deps_folder = os.path.join(deps_folder, "Godot", "build_deps")
|
||||
else:
|
||||
deps_folder = os.path.join("bin", "build_deps")
|
||||
|
||||
# DirectX Shader Compiler
|
||||
dxc_version = "v1.7.2308"
|
||||
dxc_filename = "dxc_2023_08_14.zip"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue