DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/test: fix rpath for drivers in meson build
@ 2020-07-01 17:16 Timothy Redaelli
  2020-07-02  9:16 ` Bruce Richardson
  2020-07-07 11:32 ` [dpdk-dev] [dpdk-stable] " David Marchand
  0 siblings, 2 replies; 5+ messages in thread
From: Timothy Redaelli @ 2020-07-01 17:16 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev, harry.van.haaren, stable

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: harry.van.haaren@intel.com
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 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 5233ead46..476b332cb 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -424,7 +424,8 @@ dpdk_test = executable('dpdk-test',
 	link_whole: link_libs + link_nodes,
 	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.26.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-07 11:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 17:16 [dpdk-dev] [PATCH] app/test: fix rpath for drivers in meson build Timothy Redaelli
2020-07-02  9:16 ` Bruce Richardson
2020-07-02 10:42   ` Timothy Redaelli
2020-07-02 11:01     ` Bruce Richardson
2020-07-07 11:32 ` [dpdk-dev] [dpdk-stable] " David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).