From: Bruce Richardson Subject: [PATCH 2/3] build: fix driver install path Date: Wed, 20 Sep 2017 11:51:06 +0100 Message-ID: <20170920105107.153935-3-bruce.richardson@intel.com> References: <20170920105107.153935-1-bruce.richardson@intel.com> Cc: Bruce Richardson To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9D48A1B159 for ; Wed, 20 Sep 2017 12:58:15 +0200 (CEST) In-Reply-To: <20170920105107.153935-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" To comply with the "hier" standard [Ref: man 7 hier], the driver .so files should not be placed in $datadir. Therefore we install them in a sub-directory of $libdir instead. Fixes: d123bba2dfbe ("build: add initial infrastructure for meson & ninja builds") Reported-by: Timothy M. Redaelli Signed-off-by: Bruce Richardson --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 41426a706..6e4752562 100644 --- a/meson.build +++ b/meson.build @@ -48,7 +48,7 @@ dpdk_extra_ldflags = [] if get_option('default_library') == 'static' driver_install_path = get_option('libdir') else - driver_install_path = join_paths(get_option('datadir'), 'dpdk/drivers') + driver_install_path = join_paths(get_option('libdir'), 'dpdk/drivers') endif # configure the build, and make sure configs here and in config folder are -- 2.13.5