Timestamp:
2021-03-23T14:17:27Z (4 years ago)
Author:
Petr Vaněk <arkamar@…>
Branches:
master
Children:
18a0f99
Parents:
75222ab
git-author:
Petr Vaněk <arkamar@…> (23-03-21 12:07:18)
git-committer:
Petr Vaněk <arkamar@…> (23-03-21 14:17:27)
Message:

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: 6908ab747d1e ("Add 'plugins info' subcommand, only show plugin details there")
Signed-off-by: Petr Vaněk <arkamar@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.