$OpenBSD$

Index: src/editors/xrWeatherEditor/entry_point.cpp
--- src/editors/xrWeatherEditor/entry_point.cpp.orig
+++ src/editors/xrWeatherEditor/entry_point.cpp
@@ -8,7 +8,9 @@
 
 #include "window_ide.h"
 
+#ifdef XR_PLATFORM_WINDOWS
 #pragma comment(lib, "user32.lib")
+#endif
 
 namespace XRay
 {
@@ -79,7 +81,9 @@ static void initialize_impl(ide_base*& ide)
 #pragma unmanaged
 #include <objbase.h>
 WINOLEAPI CoInitializeEx(IN LPVOID pvReserved, IN DWORD dwCoInit);
+#ifdef XR_PLATFORM_WINDOWS
 #pragma comment(lib, "ole32.lib")
+#endif
 
 extern "C" XR_EXPORT void initialize(XRay::Editor::ide_base*& ide)
 {
