summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2017-09-20 11:40:15 +0100
committerBruce Richardson <bruce.richardson@intel.com>2018-01-30 21:51:45 +0100
commitafdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea (patch)
treeef034f74eeaeb52e294bc988713ae5c479a489fa /meson.build
parent7b766118b483e89b08854b3c6e8f81967896d7dd (diff)
downloaddpdk-afdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea.zip
dpdk-afdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea.tar.gz
dpdk-afdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea.tar.xz
build: fix driver install path
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: a25a650be5f0 ("build: add infrastructure for meson and ninja builds") Reported-by: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index c1cbdfe..72aa093 100644
--- a/meson.build
+++ b/meson.build
@@ -49,7 +49,7 @@ if get_option('default_library') == 'static'
driver_install_path = get_option('libdir')
eal_pmd_path = ''
else
- driver_install_path = join_paths(get_option('datadir'), 'dpdk/drivers')
+ driver_install_path = join_paths(get_option('libdir'), 'dpdk/drivers')
eal_pmd_path = join_paths(get_option('prefix'), driver_install_path)
endif