Files
buildroot/package/libldns/Config.in
Alexis Lothoré 70a689f9dc package/libldns: add an option to build and install drill
The libldns library also comes with a CLI tool named drill, allowing to
perform DNS requests. Drill build is currently disabled by default.

Add a KConfig option to allow building and installing drill tool. Set
the default value to n to preserve the current behavior. Similarly to
linktest (see the comment in the .mk), drill fails to build correctly as
a static binary, so make the new option depend on non-static build.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-13 18:51:53 +01:00

24 lines
615 B
Plaintext

config BR2_PACKAGE_LIBLDNS
bool "libldns"
select BR2_PACKAGE_OPENSSL
help
The goal of ldns is to simplify DNS programming, it supports
recent RFCs like the DNSSEC documents, and allows developers
to easily create software conforming to current RFCs, and
experimental software for current Internet Drafts.
http://www.nlnetlabs.nl/projects/ldns
if BR2_PACKAGE_LIBLDNS
config BR2_PACKAGE_LIBLDNS_DRILL
bool "drill binary"
depends on !BR2_STATIC_LIBS
help
Install the drill binary
comment "drill needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif # BR2_PACKAGE_LIBLDNS