forked from OSchip/llvm-project
Test fix: only add shared libraries to rpath.
llvm-svn: 311422
This commit is contained in:
parent
33fb36c353
commit
5509c73a14
|
@ -998,7 +998,7 @@ void DarwinClang::AddLinkSanitizerLibArgs(const ArgList &Args,
|
|||
(Twine("libclang_rt.") + Sanitizer + "_" +
|
||||
getOSLibraryNameSuffix() + (Shared ? "_dynamic.dylib" : ".a")).str(),
|
||||
/*AlwaysLink*/ true, /*IsEmbedded*/ false,
|
||||
/*AddRPath*/ true);
|
||||
/*AddRPath*/ Shared);
|
||||
}
|
||||
|
||||
ToolChain::RuntimeLibType DarwinClang::GetRuntimeLibType(
|
||||
|
|
Loading…
Reference in New Issue