summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-29 14:38:19 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-02-23 10:07:49 +0000
commit5ed27ef8b6362ee2a30dd8f6094fa8ca32a97439 (patch)
tree69c481d7b8ac3f6025739a773989c3702933209f /src/vlib
parent72cb9f7e44555965873bc0aa44fa030be3a79167 (diff)
build: Discover libepoll-shim on FreeBSD
FreeBSD doesn't offer epoll, but an implementation which uses kqueue is available as an external library. On FreeBSD in subsystems which require epoll have cmake look for libepoll-shim. Type: improvement Change-Id: Iafd5406a9e2ebaa53fd94034489ffbbf87a7d040 Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/CMakeLists.txt b/src/vlib/CMakeLists.txt
index 61e8ba7dd78..7ec9b2050e9 100644
--- a/src/vlib/CMakeLists.txt
+++ b/src/vlib/CMakeLists.txt
@@ -153,7 +153,7 @@ add_vpp_library(vlib
API_FILES
pci/pci_types.api
- LINK_LIBRARIES vppinfra svm ${CMAKE_DL_LIBS}
+ LINK_LIBRARIES vppinfra svm ${CMAKE_DL_LIBS} ${EPOLL_LIB}
DEPENDS api_headers
)