metrics: fix header installation with meson
authorCiara Power <ciara.power@intel.com>
Tue, 14 Jul 2020 12:39:12 +0000 (13:39 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 17 Jul 2020 14:00:30 +0000 (16:00 +0200)
commit968302293070e39e726cdd210907b151821072a7
tree087130ee3966c8fa44e24a398feb50f78e7d8f44
parent3cb46d40d35960ca0478704d1e84e8d96b5676cd
metrics: fix header installation with meson

If Jansson was found, the headers list is overwritten when including
rte_metrics_telemetry.h, which prevents rte_metrics.h from being
installed. This is now fixed to add to headers, rather than overwrite,
to allow both headers be installed when Jansson is present.

Fixes: c5b7197f662e ("telemetry: move some functions to metrics library")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_metrics/meson.build