diff --git a/test/lit.cfg b/test/lit.cfg index 344a12183c8a5..18a269a770cf2 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -2338,7 +2338,7 @@ if run_vendor == 'apple': "Compatibility span back deploy libraries not found at " f"{compatibility_span_back_deploy_path}. Falling back to local build...") compatibility_span_back_deploy_path = os.path.join( - swift_obj_root, 'lib', 'swift-6.2', xcrun_sdk_name) + config.swift_lib_dir, 'swift-6.2', xcrun_sdk_name) if not os.path.isdir(compatibility_span_back_deploy_path): lit_config.fatal( "Compatibility span back deploy libraries "