--- a
+++ b/packaging/debian/debiankio/patches/fix-kio-build-ldl.patch
@@ -0,0 +1,11 @@
+diff -r 110af3426961 src/kde/kioslave/kio_recoll/CMakeLists.txt
+--- a/kde/kioslave/kio_recoll/CMakeLists.txt	Mon May 15 13:18:53 2017 +0200
++++ b/kde/kioslave/kio_recoll/CMakeLists.txt	Mon May 15 13:19:28 2017 +0200
+@@ -83,6 +83,7 @@
+ recoll 
+ xapian 
+ KF5::KIOCore
++dl
+ z 
+ pthread
+ )