DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH 2/3] build: fix driver install path
Date: Wed, 20 Sep 2017 11:51:06 +0100	[thread overview]
Message-ID: <20170920105107.153935-3-bruce.richardson@intel.com> (raw)
In-Reply-To: <20170920105107.153935-1-bruce.richardson@intel.com>

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 <tredaelli@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 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

  parent reply	other threads:[~2017-09-20 10:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 10:51 [dpdk-dev] [PATCH 0/3] minor build enhancements and fixes Bruce Richardson
2017-09-20 10:51 ` [dpdk-dev] [PATCH 1/3] build: sort meson options alphabetically Bruce Richardson
2017-09-20 10:51 ` Bruce Richardson [this message]
2017-09-20 11:28   ` [dpdk-dev] [PATCH 2/3] build: fix driver install path Bruce Richardson
2017-09-20 10:51 ` [dpdk-dev] [PATCH 3/3] build/x86: add SSE cpuflags Bruce Richardson
2017-09-20 12:05 ` [dpdk-dev] [PATCH 0/3] minor build enhancements and fixes Luca Boccassi
2017-09-20 12:34   ` Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170920105107.153935-3-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).