From 4f47167c92342ce7a01f91900e66decbf1758407 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Wed, 15 Sep 2021 11:17:06 +0300
Subject: Fix build on Haiku


diff --git a/src/runtime/kwalletd/CMakeLists.txt b/src/runtime/kwalletd/CMakeLists.txt
index 72220e6..1d5451e 100644
--- a/src/runtime/kwalletd/CMakeLists.txt
+++ b/src/runtime/kwalletd/CMakeLists.txt
@@ -103,6 +103,10 @@ endif()
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kwalletd5.service
         DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR})
 
+if (HAIKU)
+    target_link_libraries(kwalletd5 network)
+endif ()
+
 target_link_libraries(kwalletd5
     kwalletbackend5
     KF5Wallet
-- 
2.30.2

