From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Redaelli Subject: Re: [PATCH] build: create relative symlinks for PMDs in libdir Date: Wed, 12 Sep 2018 19:39:10 +0200 Message-ID: <20180912193910.6597fdf4@redhat.com> References: <20180912172134.21099-1-bluca@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: Luca Boccassi Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 14B1E4CA7 for ; Wed, 12 Sep 2018 19:39:13 +0200 (CEST) In-Reply-To: <20180912172134.21099-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" On Wed, 12 Sep 2018 18:21:34 +0100 Luca Boccassi wrote: > Add -r option to ln, otherwise the link will be absolute and contain > the build path and break packaging among other things: > > lrwxrwxrwx 1 bluca bluca 99 Sep 11 22:17 > librte_mempool_dpaa.so.1.1 > -> /home/bluca/git/dpdk/testt4//usr/local/lib/x86_64-linux-gnu/dpdk/ > drivers/librte_mempool_dpaa.so.1.1 > > With -r: > > lrwxrwxrwx 1 bluca bluca 35 Sep 12 18:13 librte_pmd_zlib.so.1.1 > -> dpdk/drivers/librte_pmd_zlib.so.1.1 > > Fixes: ed4d43d73e2b ("build: symlink drivers to library directory") > Cc: stable@dpdk.org > > Signed-off-by: Luca Boccassi Tested on Fedora 28 by building dpdk using meson from a spec file Tested-by: Timothy Redaelli