[llvm] r260351 - llvm-config: Fix DLL prefix on cygming.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 19:09:14 PST 2016


Author: chapuni
Date: Tue Feb  9 21:09:13 2016
New Revision: 260351

URL: http://llvm.org/viewvc/llvm-project?rev=260351&view=rev
Log:
llvm-config: Fix DLL prefix on cygming.

For example, LLVMSupport takes the form of LLVMSupport.dll, not libLLVMSupport.dll.

Modified:
    llvm/trunk/tools/llvm-config/llvm-config.cpp

Modified: llvm/trunk/tools/llvm-config/llvm-config.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/llvm-config.cpp?rev=260351&r1=260350&r2=260351&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-config/llvm-config.cpp (original)
+++ llvm/trunk/tools/llvm-config/llvm-config.cpp Tue Feb  9 21:09:13 2016
@@ -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 = "\\";




More information about the llvm-commits mailing list