[dpdk-dev] app/testpmd: Fix relative rpath for drivers
Checks
Commit Message
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: d123bba2dfbe ("build: add initial infrastructure for meson & ninja builds")
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
This commit is for dpdk-next-build.
app/test-pmd/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Sep 20, 2017 at 06:41:28PM +0200, Timothy Redaelli wrote:
> 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: d123bba2dfbe ("build: add initial infrastructure for meson & ninja builds")
>
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied to dpdk-next-build
@@ -70,5 +70,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)