From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: thomas@monjalon.net, Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 2/2] test: fix dependency on pcapng
Date: Mon, 8 Nov 2021 11:09:19 +0100 [thread overview]
Message-ID: <20211108100920.31083-2-david.marchand@redhat.com> (raw)
In-Reply-To: <20211108100920.31083-1-david.marchand@redhat.com>
The unit test code should depend on the pcapng library.
Fixes: 7a944656b33f ("test/pcapng: test pcapng library")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
app/test/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test/meson.build b/app/test/meson.build
index a12eadbb5a..830db76661 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -412,7 +412,10 @@ endif
if dpdk_conf.has('RTE_HAS_LIBPCAP')
ext_deps += pcap_dep
- test_sources += 'test_pcapng.c'
+ if dpdk_conf.has('RTE_LIB_PCAPNG')
+ test_deps += 'pcapng'
+ test_sources += 'test_pcapng.c'
+ endif
endif
if dpdk_conf.has('RTE_LIB_POWER')
--
2.23.0
next prev parent reply other threads:[~2021-11-08 10:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 10:09 [dpdk-dev] [PATCH 1/2] build: cleanup libpcap dependent components David Marchand
2021-11-08 10:09 ` David Marchand [this message]
2021-11-08 16:57 ` Stephen Hemminger
2021-11-10 10:57 ` David Marchand
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=20211108100920.31083-2-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=thomas@monjalon.net \
/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;
as well as URLs for NNTP newsgroup(s).