From 6008c7240bd722456b7271c136bd5c771402b433 Mon Sep 17 00:00:00 2001 From: tashcan Date: Mon, 13 Nov 2023 03:52:57 +0100 Subject: [PATCH] drogon: fix redis build (#2823) --- packages/d/drogon/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/d/drogon/xmake.lua b/packages/d/drogon/xmake.lua index 4d38d2880..0f8271bc8 100644 --- a/packages/d/drogon/xmake.lua +++ b/packages/d/drogon/xmake.lua @@ -34,6 +34,7 @@ package("drogon") add_configs("openssl", {description = "Enable openssl support.", default = true, type = "boolean"}) add_configs("postgresql", {description = "Enable postgresql support.", default = false, type = "boolean"}) add_configs("sqlite3", {description = "Enable sqlite3 support.", default = false, type = "boolean"}) + add_configs("redis", {description = "Enable redis support.", default = false, type = "boolean"}) add_deps("cmake") add_deps("trantor", "jsoncpp", "brotli", "zlib") @@ -52,7 +53,8 @@ package("drogon") mysql = "mariadb-connector-c", openssl = "openssl", postgresql = "postgresql", - sqlite3 = "sqlite3"} + sqlite3 = "sqlite3", + redis = "hiredis"} for name, dep in pairs(configdeps) do if package:config(name) then