From f62093e7390d39c160205a4915ce0b4de116a0c3 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 1 Jul 2020 19:16:38 +0200 Subject: [PATCH] test: fix rpath for drivers with meson This commit fixes the setting of relative rpath on dpdk-test for drivers ($libdir/dpdk/pmd-$abiver) to the correct absolute rpath ($prefix$libdir/dpdk/pmd-$abiver). Fixes: b5dc795a8a55 ("test: build app with meson as dpdk-test") Cc: stable@dpdk.org Signed-off-by: Timothy Redaelli Acked-by: Bruce Richardson --- app/test/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test/meson.build b/app/test/meson.build index 56591db4e0..39f295d737 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -425,7 +425,8 @@ dpdk_test = executable('dpdk-test', link_whole: link_libs, dependencies: test_dep_objs, c_args: cflags, - install_rpath: driver_install_path, + install_rpath: join_paths(get_option('prefix'), + driver_install_path), install: true) has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0' -- 2.20.1