3.11.2 has issues along these lines: cmQtAutoGeneratorMocUic.cxx:(.text+0x8e8b): undefined reference to `operator new(unsigned long, std::align_val_t)' cmQtAutoGeneratorMocUic.cxx:(.text+0x8ebf): undefined reference to `operator delete(void*, std::align_val_t)'
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
$OpenBSD: patch-Source_cmInstallCommand_cxx,v 1.14 2018/06/14 17:04:45 sthen Exp $
|
|
Index: Source/cmInstallCommand.cxx
|
|
--- Source/cmInstallCommand.cxx.orig
|
|
+++ Source/cmInstallCommand.cxx
|
|
@@ -318,6 +318,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
|
}
|
|
|
|
// Select the mode for installing symlinks to versioned shared libraries.
|
|
+ // Do not install symlinks to versioned shared libraries on OpenBSD.
|
|
+ // Use NamelinkModeSkip unconditionally.
|
|
+#if !defined(__OpenBSD__)
|
|
cmInstallTargetGenerator::NamelinkModeType namelinkMode =
|
|
cmInstallTargetGenerator::NamelinkModeNone;
|
|
if (libraryArgs.GetNamelinkOnly()) {
|
|
@@ -325,6 +328,10 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<s
|
|
} else if (libraryArgs.GetNamelinkSkip()) {
|
|
namelinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
|
}
|
|
+#else
|
|
+ cmInstallTargetGenerator::NamelinkModeType namelinkMode =
|
|
+ cmInstallTargetGenerator::NamelinkModeSkip;
|
|
+#endif
|
|
|
|
// Check if there is something to do.
|
|
if (targetList.GetVector().empty()) {
|