examples/l2fwd-keepalive: skip meson build if no librt
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 12 Nov 2020 09:41:40 +0000 (09:41 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Nov 2020 18:33:10 +0000 (19:33 +0100)
commitb334236abd8dfeea625525de548b35b40cb68c3b
tree8abc65f22968825df26c5cfc7405958388eb8e7d
parente5b95003f1df2ac65cbd11e642b1d6a91bd1058a
examples/l2fwd-keepalive: skip meson build if no librt

When librt is not present on a system, processing the meson.build file
for this example application causes an error. Make the library
non-mandatory and just mark the example as unbuildable if it is
not present.

Fixes: 89f0711f9ddf ("examples: build some samples with meson")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
examples/l2fwd-keepalive/meson.build