]> git.droids-corp.org - dpdk.git/commitdiff
build: fix driver install path
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 20 Sep 2017 10:40:15 +0000 (11:40 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:51:45 +0000 (21:51 +0100)
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>
meson.build

index c1cbdfed24ec22470b3a3fc00e6b3b2d547f3222..72aa0935bd71f0ea2bf93904f5f920158737d8c8 100644 (file)
@@ -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