From: Bruce Richardson Date: Wed, 20 Sep 2017 10:40:15 +0000 (+0100) Subject: build: fix driver install path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=afdf7fd248d32f10771a3ee3ac9561f0bcd8c2ea;p=dpdk.git 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 --- 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