d475b0a293
"There was no cmake fallout in the bulk on amd64" jasper@ Also tested by Brad with a handful of CMake using ports
25 lines
971 B
Plaintext
25 lines
971 B
Plaintext
$OpenBSD: patch-Source_cmInstallCommand_cxx,v 1.3 2012/08/31 12:28:31 dcoppa Exp $
|
|
--- Source/cmInstallCommand.cxx.orig Thu Aug 9 20:15:19 2012
|
|
+++ Source/cmInstallCommand.cxx Thu Aug 23 11:25:48 2012
|
|
@@ -331,6 +331,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
|
|
|
// Select the mode for installing symlinks to versioned shared libraries.
|
|
cmInstallTargetGenerator::NamelinkModeType
|
|
+ // Do not install symlinks to versioned shared libraries on OpenBSD.
|
|
+ // Use NamelinkModeSkip unconditionally.
|
|
+#if !defined(__OpenBSD__)
|
|
namelinkMode = cmInstallTargetGenerator::NamelinkModeNone;
|
|
if(libraryArgs.GetNamelinkOnly())
|
|
{
|
|
@@ -340,7 +343,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
|
{
|
|
namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
|
}
|
|
-
|
|
+#else
|
|
+ namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
|
+#endif
|
|
// Check if there is something to do.
|
|
if(targetList.GetVector().empty())
|
|
{
|