Module: check_mk
Branch: master
Commit: f6669effb3a3e0c3afe81af86db3b273f302ac85
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f6669effb3a3e0…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Oct 26 16:36:33 2018 +0200
Unbreak openhardwaremonitor 'dist' target.
Change-Id: I9a3e6a2f84d659ec8146effd28eb6a99e83c5a82
---
omd/packages/openhardwaremonitor/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/omd/packages/openhardwaremonitor/Makefile
b/omd/packages/openhardwaremonitor/Makefile
index 4a17d49..2bf30dc 100644
--- a/omd/packages/openhardwaremonitor/Makefile
+++ b/omd/packages/openhardwaremonitor/Makefile
@@ -22,7 +22,11 @@ OpenHardwareMonitorCLI.exe OpenHardwareMonitorLib.dll:
$(DIR)/Bin/Release/OpenHa
cp -p $(DIR)/Bin/Release/OpenHardwareMonitorCLI.exe
$(DIR)/Bin/Release/OpenHardwareMonitorLib.dll .
$(DIR)/Bin/Release/OpenHardwareMonitorCLI.exe
$(DIR)/Bin/Release/OpenHardwareMonitorLib.dll: $(DIR) $(DIR)/OpenHardwareMonitorCLI
$(DIR)/OpenHardwareMonitor.sln
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5"
$(DIR)/OpenHardwareMonitor.sln /target:OpenHardwareMonitorCLI
+# The strange "cat" below is necessary because the extremely ancient Mono
+# versions coming with even the latest Ubuntus still contain the rather severe
+# bug
https://github.com/mono/mono/issues/6752. ("...System.Exception: Magic
+# number is wrong: 542") :-P
+ xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5"
$(DIR)/OpenHardwareMonitor.sln /target:OpenHardwareMonitorCLI | cat
$(DIR): $(DIR).zip
unzip -o $<