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 <tredae...@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richard...@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

Reply via email to