llvm.org GIT mirror llvm / 741933d
[llvm-config] Add --ignore-libllvm This flag forces off linking libLLVM. This should resolve some issues reported on llvm-commits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289605 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 2 years ago
2 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
None RUN: llvm-config --libs core support 2>&1 | FileCheck %s
0 RUN: llvm-config --ignore-libllvm --libs core support 2>&1 | FileCheck %s
11 CHECK: LLVMCore
22 CHECK: LLVMSupport
33 CHECK-NOT: error
214214 --shared-mode Print how the provided components can be collectively linked (`shared` or `static`).\n\
215215 --link-shared Link the components as shared libraries.\n\
216216 --link-static Link the component libraries statically.\n\
217 --ignore-libllvm Ignore libLLVM and link component libraries instead.\n\
217218 Typical components:\n\
218219 all All LLVM libraries (default).\n\
219220 engine Either a native JIT or a bitcode interpreter.\n";
552553 LinkMode = LinkModeShared;
553554 } else if (Arg == "--link-static") {
554555 LinkMode = LinkModeStatic;
556 } else if (Arg == "--ignore-libllvm") {
557 LinkDyLib = false;
555558 } else {
556559 usage();
557560 }