From d2c2e3b836a80aade45661d1bed2efcf74c0ce0b Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 16 Nov 2018 10:57:33 +0000 Subject: [PATCH] build: document Meson < 0.46 miss private dependencies Meson can generate the list of private dependencies of libraries automatically for the pkgconfig file only since version 0.46.0. Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- doc/build-sdk-meson.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/build-sdk-meson.txt b/doc/build-sdk-meson.txt index 508e2cb642..3d8a69c29c 100644 --- a/doc/build-sdk-meson.txt +++ b/doc/build-sdk-meson.txt @@ -203,3 +203,9 @@ From examples/helloworld/Makefile:: build: @mkdir -p $@ + +NOTE: for --static builds, DPDK needs to be built with Meson >= 0.46 in order to +fully generate the list of private dependencies. If DPDK is built with an older +version of Meson, it might be necessary to manually specify dependencies of DPDK +PMDs/libraries, for example -lmlx5 -lmnl for librte-pmd-mlx5, or the static link +step might fail. -- 2.20.1