summaryrefslogtreecommitdiff
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-04-11 16:55:36 +0200
committerBrad King <brad.king@kitware.com>2013-05-21 14:50:16 -0400
commit342fc0401005decc9b5b87168483d7b3818ae0af (patch)
treee7ac780567d5deb132740f7f69de8062a1f72d5e /Source/cmComputeLinkInformation.h
parent272431a84ff13eb17cf04389428f57c7fe13e3a2 (diff)
downloadcmake-342fc0401005decc9b5b87168483d7b3818ae0af.tar.gz
Recognize shared library files with a numerical suffix
When processing link line entries we check for matches with known naming patterns for static and shared libraries. Teach this logic to recognize numerical suffixes after shared library names such as "libfoo.so.1".
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index 1a76922a55..e6ee871858 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -134,7 +134,8 @@ private:
bool OpenBSD;
void AddLinkPrefix(const char* p);
void AddLinkExtension(const char* e, LinkType type);
- std::string CreateExtensionRegex(std::vector<std::string> const& exts);
+ std::string CreateExtensionRegex(std::vector<std::string> const& exts,
+ LinkType type);
std::string NoCaseExpression(const char* str);
// Handling of link items.