Since the async datapath code switched to dmadev, there is no reason to
depend on the pci library.

Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path")

Signed-off-by: David Marchand <[email protected]>
---
Changes since v1:
- fixed "internal" dependencies of examples,

---
 examples/vdpa/meson.build  | 1 +
 examples/vhost/meson.build | 1 +
 lib/vhost/meson.build      | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/vdpa/meson.build b/examples/vdpa/meson.build
index 45f8a6fa31..3a319dd539 100644
--- a/examples/vdpa/meson.build
+++ b/examples/vdpa/meson.build
@@ -12,6 +12,7 @@ if not is_linux
 endif
 
 deps += 'vhost'
+deps += 'pci'
 allow_experimental_apis = true
 sources = files(
         'main.c',
diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build
index e938be8f45..1cf061c597 100644
--- a/examples/vhost/meson.build
+++ b/examples/vhost/meson.build
@@ -13,6 +13,7 @@ endif
 
 deps += 'vhost'
 deps += 'dmadev'
+deps += 'pci'
 allow_experimental_apis = true
 sources = files(
         'main.c',
diff --git a/lib/vhost/meson.build b/lib/vhost/meson.build
index 6a24981d10..64698182cd 100644
--- a/lib/vhost/meson.build
+++ b/lib/vhost/meson.build
@@ -44,4 +44,4 @@ headers = files(
 driver_sdk_headers = files(
         'vdpa_driver.h',
 )
-deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev']
+deps += ['ethdev', 'cryptodev', 'hash', 'dmadev']
-- 
2.54.0

Reply via email to