From a8837b74eb1b783351736cc45db4f1c6c3f29bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Rom=C3=A1n=20N=C3=BA=C3=B1ez?= Date: Wed, 17 Apr 2024 07:43:37 +0200 Subject: [PATCH] Fix building in godot master again --- gdextension_build/methods.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gdextension_build/methods.py b/gdextension_build/methods.py index de5b7ec..248d4d2 100644 --- a/gdextension_build/methods.py +++ b/gdextension_build/methods.py @@ -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):