From bf26191ead2680fc59c51ffd60236627e4b606e6 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Mon, 30 Sep 2024 11:26:06 -0500 Subject: [PATCH] SCons: Don't cache librarys (cherry picked from commit 83c0f15ab95d608f2c39eda942ee4a51cc1f0456) --- test/SConstruct | 1 + tools/godotcpp.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/SConstruct b/test/SConstruct index 1f1db0ff..b949bcac 100644 --- a/test/SConstruct +++ b/test/SConstruct @@ -42,4 +42,5 @@ else: source=sources, ) +env.NoCache(library) Default(library) diff --git a/tools/godotcpp.py b/tools/godotcpp.py index 9ceac02b..b2a63dc1 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -552,6 +552,7 @@ def _godot_cpp(env): if env["build_library"]: library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources) + env.NoCache(library) default_args = [library] # Add compiledb if the option is set