Re: [dpdk-dev] [PATCH 2/2] build: use dependency() instead of find_library()

2019-01-07 Thread Bruce Richardson
On Thu, Jan 03, 2019 at 06:57:25PM +0100, Luca Boccassi wrote: > Whenever possible (if the library ships a pkg-config file) use meson's > dependency() function to look for it, as it will automatically add it > to the Requires.private list if needed, to allow for static builds to > succeed for rever

[dpdk-dev] [PATCH 2/2] build: use dependency() instead of find_library()

2019-01-03 Thread Luca Boccassi
Whenever possible (if the library ships a pkg-config file) use meson's dependency() function to look for it, as it will automatically add it to the Requires.private list if needed, to allow for static builds to succeed for reverse dependencies of DPDK. Otherwise the recursive dependencies are not p