mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
[llvm-config] Fixing one check where shared libs implied dylib
We shouldn't print the dylib if LinkDylib is false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38087e591e
commit
23d0163e61
@ -598,7 +598,7 @@ int main(int argc, char **argv) {
|
||||
if (!MissingLibs.empty()) {
|
||||
switch (LinkMode) {
|
||||
case LinkModeShared:
|
||||
if (DyLibExists && !BuiltSharedLibs)
|
||||
if (LinkDyLib && !BuiltSharedLibs)
|
||||
break;
|
||||
// Using component shared libraries.
|
||||
for (auto &Lib : MissingLibs)
|
||||
@ -674,7 +674,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
};
|
||||
|
||||
if (LinkMode == LinkModeShared && !BuiltSharedLibs) {
|
||||
if (LinkMode == LinkModeShared && LinkDyLib) {
|
||||
PrintForLib(DyLibName);
|
||||
} else {
|
||||
for (unsigned i = 0, e = RequiredLibs.size(); i != e; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user