[dpdk-dev] [PATCH] app/testpmd: Fix relative rpath for drivers

Timothy Redaelli tredaelli at redhat.com
Wed Sep 20 18:41:28 CEST 2017


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 at redhat.com>
---

This commit is for dpdk-next-build.

 app/test-pmd/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
index a374771bf..202adf2b2 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.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)
-- 
2.13.5



More information about the dev mailing list