mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
Allow static linking in the developer mode
Previously, we have disallowed static linking (for good reasons). However, there are legitimate reasons where static linking might be useful, and one of the reasons is the OSS-Fuzz project that doesn't have the libraries used for build, so static linking is the sane option here. The static linking is still disallowed in the "production" builds, but it's not possible to disable shared and enable static libraries when used together with --enable-developer.
This commit is contained in:
parent
c8538c50b4
commit
eb0d5a9526
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ AC_PROG_MKDIR_P
|
|||
# Initialize libtool
|
||||
LT_INIT([disable-static dlopen pic-only])
|
||||
|
||||
AS_IF([test $enable_static != "no"],
|
||||
AS_IF([test "$enable_static" != "no" && test "$enable_developer" != "yes"],
|
||||
[AC_MSG_ERROR([Static linking is not supported as it disables dlopen() and certain security features (e.g. RELRO, ASLR)])])
|
||||
|
||||
LT_CONFIG_LTDL_DIR([libltdl])
|
||||
|
|
|
|||
Loading…
Reference in a new issue