Explorar o código

ENH: add -L as possible library flag

Bill Hoffman %!s(int64=20) %!d(string=hai) anos
pai
achega
1b115dc2e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -1294,7 +1294,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
     {
     cmStdString& linkItem = *lib;
     // check to see if the link item has a -l already
-    cmsys::RegularExpression reg("^([ \t]*\\-[lWRB])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
+    cmsys::RegularExpression reg("^([ \t]*\\-[lLWRB])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
     if(!reg.find(linkItem))
       {
       librariesLinked += libLinkFlag;