summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-config/llvm-config.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-10 03:09:13 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-10 03:09:13 +0000
commit1621f81c4418d34febdd3e93b38423dc49b361f4 (patch)
tree39aae3aaa5f92acc68d8bde0dbddb363bc7eb700 /llvm/tools/llvm-config/llvm-config.cpp
parent7590a1ee61b6f96f84dc3be0df76299cc0d405f9 (diff)
downloadbcm5719-llvm-1621f81c4418d34febdd3e93b38423dc49b361f4.tar.gz
bcm5719-llvm-1621f81c4418d34febdd3e93b38423dc49b361f4.zip
llvm-config: Fix DLL prefix on cygming.
For example, LLVMSupport takes the form of LLVMSupport.dll, not libLLVMSupport.dll. llvm-svn: 260351
Diffstat (limited to 'llvm/tools/llvm-config/llvm-config.cpp')
-rw-r--r--llvm/tools/llvm-config/llvm-config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
index 2e8f318c4c2..a867e1b60d8 100644
--- a/llvm/tools/llvm-config/llvm-config.cpp
+++ b/llvm/tools/llvm-config/llvm-config.cpp
@@ -358,7 +358,7 @@ int main(int argc, char **argv) {
SharedVersionedExt = LLVM_DYLIB_VERSION ".dll";
if (HostTriple.isOSCygMing()) {
StaticExt = "a";
- StaticPrefix = SharedPrefix = "lib";
+ StaticPrefix = "lib";
} else {
StaticExt = "lib";
DirSep = "\\";
OpenPOWER on IntegriCloud