Browse Source

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 <peter.van.dijk@powerdns.com>
(cherry picked from commit 283b269c7c)
lilik-openwrt-22.03
Peter van Dijk 2 years ago
committed by Rosen Penev
parent
commit
34dc9074f9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      net/dnsdist/Makefile

+ 2
- 2
net/dnsdist/Makefile View File

@ -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 \


Loading…
Cancel
Save