app/testpmd: fix rpath for drivers in meson build
authorTimothy Redaelli <tredaelli@redhat.com>
Wed, 20 Sep 2017 16:41:28 +0000 (18:41 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:51:45 +0000 (21:51 +0100)
This commit fixes the setting of relative rpath on dpdk-testpmd for
drivers ($libdir/dpdk/drivers) to the correct absolute rpath
($prefix$libdir/dpdk/drivers)

Fixes: a25a650be5f0 ("build: add infrastructure for meson and ninja builds")

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test-pmd/meson.build

index 3969775..001d4f6 100644 (file)
@@ -77,5 +77,5 @@ executable('dpdk-testpmd',
        link_whole: link_libs,
        dependencies: dep_objs,
        link_args: eal_extra_link_arg, # add -ldl for linux, -lexecinfo for BSD
-       install_rpath: driver_install_path,
+       install_rpath: join_paths(get_option('prefix'), driver_install_path),
        install: true)