search for: printlibfil

Displaying 1 result from an estimated 1 matches for "printlibfil".

Did you mean: printlibfiles
2011 Dec 12
0
[LLVMdev] [PATCH] llvm-config: Use "all" components by default.
...deletions(-) diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp index bf3357e..22db07e 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -301,6 +301,8 @@ int main(int argc, char **argv) { if (PrintLibs || PrintLibNames || PrintLibFiles) { // Construct the list of all the required libraries. + if (Components.empty()) + Components.push_back("all"); std::vector<StringRef> RequiredLibs; ComputeLibsForComponents(Components, RequiredLibs); -- 1.7.7