We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d513a commit 5f17377Copy full SHA for 5f17377
test/lit.cfg
@@ -2480,9 +2480,13 @@ config.substitutions.append(('%llvm-profdata', config.llvm_profdata))
2480
config.substitutions.append(('%llvm-cov', config.llvm_cov))
2481
2482
# Set up the host library environment.
2483
-host_library_env = (
2484
- "/usr/bin/env " +
2485
- construct_library_path_env(config.swift_host_lib_dir))
+if hasattr(config, 'target_library_path_var'):
+ host_library_env = (
+ "/usr/bin/env " +
2486
+ construct_library_path_env(config.swift_host_lib_dir))
2487
+else:
2488
+ host_library_env = ""
2489
+
2490
config.substitutions.append(('%host-library-env', host_library_env))
2491
2492
if hasattr(config, 'otool_classic'):
0 commit comments