Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
root_commands: prevent linker error when plugins are disabled
This commit fixes compilation issue with disabled plugin support (./configure --plugins=0), where get_plugins function is unavailable. The problem has been introduced with addition of new 'plugins info' subcommand, where get_plugins is used in cmd_plugins_info function, which should be conditionally available only if WITH_PLUGINS is defined. Bug: https://bugs.gentoo.org/739510 Bug: https://bugs.gentoo.org/617604 Fixes: 6908ab7 ("Add 'plugins info' subcommand, only show plugin details there") Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
- Loading branch information