[Buildroot] [git commit branch/2024.02.x] package/bind: force shared build

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2024-11-09 16:28:34
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=66f888250026099b21ff29dc81cdbffb0aacdcbd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2024.02.x

We got following error with --enable-static:

checking whether to build static libraries... yes
configure: error: Static linking is not supported as it disables dlopen() and certain security features (e.g. RELRO, ASLR)

Fixes:

 http://autobuild.buildroot.org/results/b55/b553898381ff0fdf5dd705fbb11b469b7564c6e6

Signed-off-by: Waldemar Brodkorb <redacted>
Signed-off-by: Julien Olivain <redacted>
(cherry picked from commit 7b43e248180ad3b3dd1804687bc4457f29a88137)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bind/bind.mk | 1 +
 1 file changed, 1 insertion(+)
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index 217c9916fd..d594ab5e39 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -33,6 +33,7 @@ BIND_CONF_OPTS = \
 	--enable-epoll \
 	--disable-doh \
 	--disable-backtrace \
+	--disable-static \
 	--with-openssl=$(STAGING_DIR)/usr
 
 BIND_DEPENDENCIES = host-pkgconf libuv openssl
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help