[Cmake-commits] [cmake-commits] king committed cmComputeLinkInformation.cxx 1.52 1.53

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jul 28 08:07:56 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv22108/Source

Modified Files:
	cmComputeLinkInformation.cxx 
Log Message:
BUG: Do not recognize ':' in a library name

In cmComputeLinkInformation we construct regular expressions to
recognize library file names.  This fixes the expressions to not allow a
colon (':') in the file name so that "-l:libfoo.a" is left alone.


Index: cmComputeLinkInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkInformation.cxx,v
retrieving revision 1.52
retrieving revision 1.53
diff -C 2 -d -r1.52 -r1.53
*** cmComputeLinkInformation.cxx	27 Jul 2009 16:43:16 -0000	1.52
--- cmComputeLinkInformation.cxx	28 Jul 2009 12:07:52 -0000	1.53
***************
*** 876,880 ****
      }
    reg += ")";
!   reg += "([^/]*)";
  
    // Create a regex to match any library name.
--- 876,880 ----
      }
    reg += ")";
!   reg += "([^/:]*)";
  
    // Create a regex to match any library name.



More information about the Cmake-commits mailing list