From b67e9ee34b2d5f47a68fd1a98fbfc55af131dda6 Mon Sep 17 00:00:00 2001 From: Andrea Fontana Date: Thu, 26 Dec 2024 16:47:49 +0100 Subject: [PATCH] Add backend configurations for kqueue, epoll, and select --- dub.sdl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dub.sdl b/dub.sdl index 8b3808c..97a7344 100644 --- a/dub.sdl +++ b/dub.sdl @@ -13,6 +13,21 @@ configuration "disable_websockets" { versions "disable_websockets" } +configuration "kqueue_backend" { + targetType "library" + versions "use_kqueue" +} + +configuration "epoll_backend" { + targetType "library" + versions "use_epoll" +} + +configuration "select_backend" { + targetType "library" + versions "use_select" +} + sourcePaths "source" subPackage "./init-exec"