summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-02-13 15:33:27 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-13 15:34:41 (GMT)
commitafc75bb7f520b7405a08f24a25a42542d3e3c92f (patch)
treece1375584d41b690a8dce278e0deef4ed526535c /Source/cmComputeLinkInformation.h
parent16b1a6e4e07b223c7ead20cd40346fc327e90569 (diff)
downloadCMake-afc75bb7f520b7405a08f24a25a42542d3e3c92f.zip
CMake-afc75bb7f520b7405a08f24a25a42542d3e3c92f.tar.gz
CMake-afc75bb7f520b7405a08f24a25a42542d3e3c92f.tar.bz2
Recognize OpenBSD versioned .so names (#12954)
OpenBSD shared library names end in a ".#.#" version number suffix. Teach cmComputeLinkInformation to tolerate the extra suffix after the normal library name suffixes when parsing library names.
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index bbeed68..f60f8d3 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -128,6 +128,7 @@ private:
cmsys::RegularExpression ExtractSharedLibraryName;
cmsys::RegularExpression ExtractAnyLibraryName;
std::string SharedRegexString;
+ bool OpenBSD;
void AddLinkPrefix(const char* p);
void AddLinkExtension(const char* e, LinkType type);
std::string CreateExtensionRegex(std::vector<std::string> const& exts);