build: improve libbsd dependency handling
authorLuca Boccassi <bluca@debian.org>
Tue, 26 Feb 2019 17:46:35 +0000 (17:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Feb 2019 11:28:03 +0000 (12:28 +0100)
commita9933bb1debf55509f1ec265d86192d62473b1a9
treea05219687e3f7b26fd768cace5b9b534b171e916
parent8990c8c0d0bce23eb46fb139e5ad668cb199c6cf
build: improve libbsd dependency handling

Use dependency() instead of manual append to ldflags.

Move libbsd inclusion to librte_eal, so that all other libraries and
PMDs will inherit it.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
config/meson.build
lib/librte_eal/meson.build