From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: [PATCH v2] build: document that Meson < 0.46 will fail to list private deps Date: Fri, 16 Nov 2018 10:57:33 +0000 Message-ID: <20181116105733.21200-1-bluca@debian.org> References: <20181115182628.8114-1-bluca@debian.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: bruce.richardson@intel.com, thomas@monjalon.net, Luca Boccassi To: dev@dpdk.org Return-path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 0078B2BB1 for ; Fri, 16 Nov 2018 11:57:38 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id j10so10189738wru.4 for ; Fri, 16 Nov 2018 02:57:38 -0800 (PST) In-Reply-To: <20181115182628.8114-1-bluca@debian.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- v2: corrected version, minimum required is meson 0.46 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 508e2cb64..3d8a69c29 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.19.1