llvm.org GIT mirror llvm / 23d0163
[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 Chris Bieneman 2 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
597597 if (!MissingLibs.empty()) {
598598 switch (LinkMode) {
599599 case LinkModeShared:
600 if (DyLibExists && !BuiltSharedLibs)
600 if (LinkDyLib && !BuiltSharedLibs)
601601 break;
602602 // Using component shared libraries.
603603 for (auto &Lib : MissingLibs)
673673 }
674674 };
675675
676 if (LinkMode == LinkModeShared && !BuiltSharedLibs) {
676 if (LinkMode == LinkModeShared && LinkDyLib) {
677677 PrintForLib(DyLibName);
678678 } else {
679679 for (unsigned i = 0, e = RequiredLibs.size(); i != e; ++i) {