Skip to content

Commit

Permalink
Fix building in godot master again
Browse files Browse the repository at this point in the history
  • Loading branch information
EIREXE committed Apr 17, 2024
1 parent 36ff06d commit a8837b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gdextension_build/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,14 @@ def wrapper(target, source, env):
return wrapper


def Run(env, function, short_message, subprocess=True):
def Run(env, function, subprocess=True):
from SCons.Script import Action
from platform_methods import run_in_subprocess

if not subprocess:
return Action(function, "")
return Action(function, "$GENCOMSTR")
else:
return Action(run_in_subprocess(function), "")
return Action(run_in_subprocess(function), "$GENCOMSTR")


def CommandNoCache(env, target, sources, command, **args):
Expand Down

0 comments on commit a8837b7

Please sign in to comment.