From: Robin Jarry <rjarry@redhat.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH dpdk v2 2/2] meson: add drivers to dynamic libraries
Date: Thu, 15 Oct 2026 13:26:10 +0200 [thread overview]
Message-ID: <20261015112607.3008792-6-rjarry@redhat.com> (raw)
In-Reply-To: <20261015112607.3008792-4-rjarry@redhat.com>
dpdk_shared_lib_deps only collects library dependencies, so DPDK built
as a meson subproject with shared libraries never links against
drivers that install public headers (e.g. bus/pci, bus/vdev). Add
these drivers to dpdk_shared_lib_deps as well, mirroring what is
already done for libraries in lib/meson.build.
Signed-off-by: Robin Jarry <rjarry@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
Notes:
v2: added driver shared libs to the list for pkg-config
drivers/meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/meson.build b/drivers/meson.build
index 7146f036c4c9..0e8e69798bdf 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -405,6 +405,10 @@ foreach subpath:subdirs
dependencies: static_deps)
dpdk_static_drivers += static_lib
+ if headers.length() > 0
+ dpdk_libraries += shared_lib
+ dpdk_shared_lib_deps += shared_dep
+ endif
set_variable('shared_@0@'.format(lib_name), shared_dep)
set_variable('static_@0@'.format(lib_name), static_dep)
--
2.56.0
next prev parent reply other threads:[~2026-10-15 11:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 10:09 [PATCH dpdk 0/2] Fix dynamic link of driver symbols with pkgconf Robin Jarry
2026-10-15 10:09 ` [PATCH dpdk 1/2] meson: rename static drivers list Robin Jarry
2026-10-15 10:36 ` Bruce Richardson
2026-10-15 10:09 ` [PATCH dpdk 2/2] meson: add drivers to dynamic libraries Robin Jarry
2026-10-15 10:40 ` Bruce Richardson
2026-10-15 10:41 ` [PATCH dpdk 0/2] Fix dynamic link of driver symbols with pkgconf Bruce Richardson
2026-10-15 11:27 ` Robin Jarry
2026-10-15 11:26 ` [PATCH dpdk v2 " Robin Jarry
2026-10-15 11:26 ` [PATCH dpdk v2 1/2] meson: rename static drivers list Robin Jarry
2026-10-15 11:26 ` Robin Jarry [this message]
2026-10-15 11:52 ` [PATCH dpdk v2 2/2] meson: add drivers to dynamic libraries Bruce Richardson
2026-10-15 12:06 ` Robin Jarry
2026-10-15 12:18 ` Bruce Richardson
2026-10-15 14:47 ` Robin Jarry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261015112607.3008792-6-rjarry@redhat.com \
--to=rjarry@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox