mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
fix: nil: Install named-compilezone
named-compilezone is an alias for named-checkzone: the two tools are built from the same set of source files, but they behave differently depending on which executable gets invoked. With Automake, named-compilezone was installed as a hard link to named-checkzone using a custom installation hook; try to keep things simple with Meson by using the install_symlink() method, which makes named-compilezone a symbolic link to named-checkzone and is the same thing that is already used for ddns-confgen/tsig-keygen. See #5379 Merge branch '5379-install-named-compilezone' into 'main' See merge request isc-projects/bind9!10595
This commit is contained in:
@@ -111,6 +111,7 @@ sphinx_build = find_program('sphinx-build', required: doc_opt)
|
||||
### Install information
|
||||
prefix = get_option('prefix')
|
||||
|
||||
bindir = prefix / get_option('bindir')
|
||||
datadir = prefix / get_option('datadir')
|
||||
libdir = prefix / get_option('libdir')
|
||||
localstatedir = prefix / get_option('localstatedir')
|
||||
@@ -1333,6 +1334,12 @@ executable(
|
||||
],
|
||||
)
|
||||
|
||||
install_symlink(
|
||||
'named-compilezone',
|
||||
pointing_to: 'named-checkzone',
|
||||
install_dir: bindir,
|
||||
)
|
||||
|
||||
executable(
|
||||
'named-journalprint',
|
||||
named_journalprint_src,
|
||||
|
Reference in New Issue
Block a user