mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 23:32:44 +08:00
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>
This commit is contained in:
parent
17154e7cae
commit
cf447a2a33
@ -115,7 +115,7 @@ define Package/dnsdist
|
|||||||
+libedit \
|
+libedit \
|
||||||
+libstdcpp \
|
+libstdcpp \
|
||||||
+lmdb \
|
+lmdb \
|
||||||
+liblua \
|
+luajit \
|
||||||
+tinycdb
|
+tinycdb
|
||||||
URL:=https://dnsdist.org/
|
URL:=https://dnsdist.org/
|
||||||
endef
|
endef
|
||||||
@ -144,7 +144,7 @@ TARGET_CXX+=-std=c++17
|
|||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--with-lua=lua \
|
--with-lua=luajit \
|
||||||
$(if $(CONFIG_DNSDIST_SODIUM),--enable-dnscrypt --with-libsodium,--disable-dnscrypt --without-libsodium) \
|
$(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_DNSTAP),--enable-dnstap=yes,--enable-dnstap=no) \
|
||||||
$(if $(CONFIG_DNSDIST_RE2),--with,--without)-re2 \
|
$(if $(CONFIG_DNSDIST_RE2),--with,--without)-re2 \
|
||||||
|
Loading…
Reference in New Issue
Block a user