Skip to content

Commit d7a7e9f

Browse files
committed
Add the compiler-rt libdir to path for lit in both static and dynamic config
After the windows static runtime is removed these static=static CRT and dynamic=dynamic CRT, both using the dynamic asan runtime.
1 parent a013898 commit d7a7e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/asan/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def build_invocation(compile_flags, with_lto=False):
281281

282282
# Add the RT libdir to PATH directly so that we can successfully run the gtest
283283
# binary to list its tests.
284-
if config.host_os == "Windows" and config.asan_dynamic:
284+
if config.host_os == "Windows":
285285
os.environ["PATH"] = os.path.pathsep.join(
286286
[config.compiler_rt_libdir, os.environ.get("PATH", "")]
287287
)

0 commit comments

Comments
 (0)