From patchwork Wed Sep 20 16:41:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Redaelli X-Patchwork-Id: 29038 X-Patchwork-Delegate: bruce.richardson@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 050D27CFD; Wed, 20 Sep 2017 18:41:42 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 59EE96D45 for ; Wed, 20 Sep 2017 18:41:40 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7FB14C057FAF; Wed, 20 Sep 2017 16:41:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7FB14C057FAF Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=tredaelli@redhat.com Received: from graphite.redhat.com (ovpn-204-72.brq.redhat.com [10.40.204.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF56D5D6A3; Wed, 20 Sep 2017 16:41:38 +0000 (UTC) From: Timothy Redaelli To: bruce.richardson@intel.com Cc: dev@dpdk.org Date: Wed, 20 Sep 2017 18:41:28 +0200 Message-Id: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 20 Sep 2017 16:41:39 +0000 (UTC) Subject: [dpdk-dev] [PATCH] app/testpmd: Fix relative rpath for drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This commit fixes the setting of relative rpath on dpdk-testpmd for drivers ($libdir/dpdk/drivers) to the correct absolute rpath ($prefix$libdir/dpdk/drivers) Fixes: d123bba2dfbe ("build: add initial infrastructure for meson & ninja builds") Signed-off-by: Timothy Redaelli Acked-by: Bruce Richardson --- This commit is for dpdk-next-build. app/test-pmd/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build index a374771bf..202adf2b2 100644 --- a/app/test-pmd/meson.build +++ b/app/test-pmd/meson.build @@ -70,5 +70,5 @@ executable('dpdk-testpmd', link_whole: link_libs, dependencies: dep_objs, link_args: eal_extra_link_arg, # add -ldl for linux, -lexecinfo for BSD - install_rpath: driver_install_path, + install_rpath: join_paths(get_option('prefix'), driver_install_path), install: true)