2010-07-28 16:34:22 -04:00
|
|
|
$OpenBSD: patch-Source_cmInstallCommand_cxx,v 1.2 2010/07/28 20:34:22 dcoppa Exp $
|
|
|
|
--- Source/cmInstallCommand.cxx.orig Mon Jun 28 17:15:59 2010
|
|
|
|
+++ Source/cmInstallCommand.cxx Wed Jul 28 21:12:05 2010
|
|
|
|
@@ -324,6 +324,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
2010-05-28 16:21:48 -04:00
|
|
|
|
|
|
|
// Select the mode for installing symlinks to versioned shared libraries.
|
|
|
|
cmInstallTargetGenerator::NamelinkModeType
|
2010-07-28 16:34:22 -04:00
|
|
|
+ // Do not install symlinks to versioned shared libraries on OpenBSD.
|
|
|
|
+ // Use NamelinkModeSkip unconditionally.
|
2010-05-28 16:21:48 -04:00
|
|
|
+#if !defined(__OpenBSD__)
|
|
|
|
namelinkMode = cmInstallTargetGenerator::NamelinkModeNone;
|
|
|
|
if(libraryArgs.GetNamelinkOnly())
|
|
|
|
{
|
2010-07-28 16:34:22 -04:00
|
|
|
@@ -333,7 +336,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
2010-05-28 16:21:48 -04:00
|
|
|
{
|
|
|
|
namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
|
|
|
}
|
|
|
|
-
|
|
|
|
+#else
|
|
|
|
+ namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
|
|
|
+#endif
|
|
|
|
// Check if there is something to do.
|
|
|
|
if(targetList.GetVector().empty())
|
|
|
|
{
|