From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20885A0C4B; Mon, 8 Nov 2021 11:09:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C5F640E03; Mon, 8 Nov 2021 11:09:46 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id F3A8740151 for ; Mon, 8 Nov 2021 11:09:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636366183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tgydzpoFVIqHnp/DnizPgcVKN9eLeJA2TcUaHEDOW3Y=; b=WOJLYGnivi40VtS2Ix6AD34LDAcSHSffhIp1ckOXsiGXJ4VlNe+iitU2vynSs7w4N6I/wK SMTUIaUAVB0kYse9EArNIpE1vu31tq3aMDpNtqsN0PrIVCZ77bSYOdu3RM1QeZVYR2Zkr1 fw6ySN7k7txwYPBiOGYvZcROg6q8uJQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-379-LikUDhvzP8SiB41mAL8-sw-1; Mon, 08 Nov 2021 05:09:40 -0500 X-MC-Unique: LikUDhvzP8SiB41mAL8-sw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 754FF804140; Mon, 8 Nov 2021 10:09:39 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.194.192]) by smtp.corp.redhat.com (Postfix) with ESMTP id 641CF19729; Mon, 8 Nov 2021 10:09:38 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, Stephen Hemminger Date: Mon, 8 Nov 2021 11:09:19 +0100 Message-Id: <20211108100920.31083-2-david.marchand@redhat.com> In-Reply-To: <20211108100920.31083-1-david.marchand@redhat.com> References: <20211108100920.31083-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH 2/2] test: fix dependency on pcapng X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The unit test code should depend on the pcapng library. Fixes: 7a944656b33f ("test/pcapng: test pcapng library") Signed-off-by: David Marchand --- 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