You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user