You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix uiautomationcore linking in 32-bit x86 MinGW builds.
This commit is contained in:
@@ -254,7 +254,9 @@ def build_def_file(target, source, env: "SConsEnvironment"):
|
||||
}
|
||||
|
||||
cmdbase = "dlltool -m " + arch_aliases[env["arch"]]
|
||||
if env["arch"] != "x86_32":
|
||||
if env["arch"] == "x86_32":
|
||||
cmdbase += " -k"
|
||||
else:
|
||||
cmdbase += " --no-leading-underscore"
|
||||
|
||||
mingw_bin_prefix = get_mingw_bin_prefix(env["mingw_prefix"], env["arch"])
|
||||
@@ -857,6 +859,7 @@ def configure_mingw(env: "SConsEnvironment"):
|
||||
env.Append(LIBPATH=[env["accesskit_sdk_path"] + "/lib/windows/x86_64/mingw/static/"])
|
||||
elif env["arch"] == "x86_32":
|
||||
env.Append(LIBPATH=[env["accesskit_sdk_path"] + "/lib/windows/x86/mingw/static/"])
|
||||
env.Append(LIBPATH=["#bin/obj/platform/windows"])
|
||||
env.Append(
|
||||
LIBS=[
|
||||
"accesskit",
|
||||
|
||||
Reference in New Issue
Block a user