mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[llvm-config] Fixing one check where shared libs implied dylib
We shouldn't print the dylib if LinkDylib is false. llvm-svn: 289609
This commit is contained in:
parent
d4154aff29
commit
6d8e2f21ad
@ -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