mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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
|
@ -603,10 +603,10 @@ def CommandNoCache(env, target, sources, command, **args):
|
|||
return result
|
||||
|
||||
|
||||
def Run(env, function):
|
||||
def Run(env, function, comstr="$GENCOMSTR"):
|
||||
from SCons.Script import Action
|
||||
|
||||
return Action(function, "$GENCOMSTR")
|
||||
return Action(function, comstr)
|
||||
|
||||
|
||||
def detect_darwin_toolchain_path(env):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue