From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2017 03:58:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,421,1500966000"; d="scan'208";a="130625701" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by orsmga004.jf.intel.com with ESMTP; 20 Sep 2017 03:58:13 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Wed, 20 Sep 2017 11:51:06 +0100 Message-Id: <20170920105107.153935-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170920105107.153935-1-bruce.richardson@intel.com> References: <20170920105107.153935-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 2/3] build: fix driver install path 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: , X-List-Received-Date: Wed, 20 Sep 2017 10:58:16 -0000 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