SCons: Don't cache librarys

(cherry picked from commit 83c0f15ab9)
pull/1632/head
Thaddeus Crews 2024-09-30 11:26:06 -05:00 committed by David Snopek
parent af78f2778f
commit bf26191ead
2 changed files with 2 additions and 0 deletions

View File

@ -42,4 +42,5 @@ else:
source=sources, source=sources,
) )
env.NoCache(library)
Default(library) Default(library)

View File

@ -552,6 +552,7 @@ def _godot_cpp(env):
if env["build_library"]: if env["build_library"]:
library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources) library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
env.NoCache(library)
default_args = [library] default_args = [library]
# Add compiledb if the option is set # Add compiledb if the option is set