From afdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 20 Sep 2017 11:40:15 +0100 Subject: [PATCH] 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 Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c1cbdfed24..72aa0935bd 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 -- 2.20.1