From 06a1e35d8ad34352878db12113680d4c5f2ea45f Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 28 Jul 2009 08:07:52 -0400 Subject: 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. --- Source/cmComputeLinkInformation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 1dee2a2..c47f931 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -875,7 +875,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo() reg += "|"; } reg += ")"; - reg += "([^/]*)"; + reg += "([^/:]*)"; // Create a regex to match any library name. std::string reg_any = reg; -- cgit v0.12