diff options
author | Brad King <brad.king@kitware.com> | 2009-07-28 12:07:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-28 12:07:52 (GMT) |
commit | 06a1e35d8ad34352878db12113680d4c5f2ea45f (patch) | |
tree | ad7b3da9b1a2b1e063608e058d7f472fe82f33b2 /Source/cmComputeLinkInformation.cxx | |
parent | 87c3e1662cec79d49fc14bcb3bc20cc4f12f4122 (diff) | |
download | CMake-06a1e35d8ad34352878db12113680d4c5f2ea45f.zip CMake-06a1e35d8ad34352878db12113680d4c5f2ea45f.tar.gz CMake-06a1e35d8ad34352878db12113680d4c5f2ea45f.tar.bz2 |
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.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |