diff options
author | Brad King <brad.king@kitware.com> | 2012-02-13 15:33:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-13 15:34:41 (GMT) |
commit | afc75bb7f520b7405a08f24a25a42542d3e3c92f (patch) | |
tree | ce1375584d41b690a8dce278e0deef4ed526535c /Source/cmComputeLinkInformation.h | |
parent | 16b1a6e4e07b223c7ead20cd40346fc327e90569 (diff) | |
download | CMake-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.h | 1 |
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); |