$NetBSD: patch-winpr_libwinpr_CMakeLists.txt,v 1.2 2023/01/16 19:20:15 markd Exp $

Uses epoll/eventfd, so depend on epoll-shim.

--- winpr/libwinpr/CMakeLists.txt.orig	2022-11-16 14:06:20.000000000 +0000
+++ winpr/libwinpr/CMakeLists.txt
@@ -89,6 +89,10 @@ if (NOT IOS)
 	endif()
 endif()
 
+if (BSD)
+    winpr_library_add_private(${EPOLLSHIM_LIBRARIES})
+endif()
+
 if (ANDROID)
     winpr_library_add_private(log)
 endif()
