mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
SCons: Fix dlltool on Windows MinGW builds
- Expand `env.Run` function to accept optional command string, because we can't just call `env.Action` for some reason
This commit is contained in:
parent
42224bb750
commit
d9a77a42ee
3 changed files with 32 additions and 48 deletions
|
|
@ -74,11 +74,7 @@ env.add_source_files(sources, common_win)
|
|||
sources += res_obj
|
||||
|
||||
if env["accesskit"] and not env.msvc:
|
||||
env["BUILDERS"]["DEF"].emitter = redirect_emitter
|
||||
def_file = "uiautomationcore." + env["arch"] + ".def"
|
||||
def_target = "libuiautomationcore." + env["arch"] + ".a"
|
||||
def_obj = env.DEF(def_target, def_file)
|
||||
sources += def_obj
|
||||
sources += env.DEFLIB("uiautomationcore")
|
||||
|
||||
prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"])
|
||||
arrange_program_clean(prog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue