From 34dc9074f9c77743674a107e19e44ca17d0ed75d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 20 Jun 2022 16:53:34 +0200 Subject: [PATCH] dnsdist: switch from liblua to luajit luajit provides higher performance for requests handled in Lua hooks. It also enables access to dnsdist functionality only exposed via FFI, and allows configurations/hooks to call functions in any C library without providing separate bindings. Signed-off-by: Peter van Dijk (cherry picked from commit 283b269c7c0f164311b11d459953b1b34f6974cf) --- net/dnsdist/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dnsdist/Makefile b/net/dnsdist/Makefile index 4d7da9ed3..ed3fc73b3 100644 --- a/net/dnsdist/Makefile +++ b/net/dnsdist/Makefile @@ -115,7 +115,7 @@ define Package/dnsdist +libedit \ +libstdcpp \ +lmdb \ - +liblua \ + +luajit \ +tinycdb URL:=https://dnsdist.org/ endef @@ -144,7 +144,7 @@ TARGET_CXX+=-std=c++17 CONFIGURE_ARGS+= \ --with-pic \ - --with-lua=lua \ + --with-lua=luajit \ $(if $(CONFIG_DNSDIST_SODIUM),--enable-dnscrypt --with-libsodium,--disable-dnscrypt --without-libsodium) \ $(if $(CONFIG_DNSDIST_DNSTAP),--enable-dnstap=yes,--enable-dnstap=no) \ $(if $(CONFIG_DNSDIST_RE2),--with,--without)-re2 \