numam-dpdk/examples/vhost_crypto
David Marchand f01ca13fca examples: skip build when missing dependencies
Trying to disable the vhost library, meson will complain it can't build
the vhost* and vdpa examples when passing -Dexamples=all.

-Dexamples=all skips examples if the example itself announces it can't
be built (for external dependencies, internal dependencies and other
reasons).
Since examples/meson.build will evaluate the internal dependencies
in any case, let's move the check there and resolve the issue for
optional internal libraries.

Fixes: 0bf5832222 ("lib: allow disabling optional libraries")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-11-10 11:42:34 +01:00
..
main.c vhost: rename driver callbacks struct 2021-11-03 11:59:27 +01:00
Makefile examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
meson.build examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00