[dpdk-dev] [PATCH 2/3] build: fix driver install path
Bruce Richardson
bruce.richardson at intel.com
Wed Sep 20 13:28:10 CEST 2017
+Timothy, since git doesn't seem to automatically add reporters on CC.
On Wed, Sep 20, 2017 at 11:51:06AM +0100, Bruce Richardson wrote:
> 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 at redhat.com>
> Signed-off-by: Bruce Richardson <bruce.richardson at 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
>
More information about the dev
mailing list