lib: allow disabling optional libraries
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 20 Apr 2021 10:22:32 +0000 (11:22 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Apr 2021 12:17:29 +0000 (14:17 +0200)
commit0bf5832222971a0154c9150d4a7a4b82ecbc9ddb
treecece17148c13a932f223cd3da2fb429e54e116c5
parent7e06c0fe309c3fc4af3f33545877cbf4414d5b59
lib: allow disabling optional libraries

Add support for the disable_libs option, to allow disabling the build of
particular libraries. As part of this, maintain a list of what libraries
can safely be disabled, without breaking the build - for now this list is
solely those libraries which are not built on FreeBSD, kni, power and
vhost. This list can be expanded by future patches.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/meson.build
meson_options.txt