From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC6A0A04B6; Mon, 12 Oct 2020 17:12:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C918D1D904; Mon, 12 Oct 2020 17:12:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 69ABC1D6BC for ; Mon, 12 Oct 2020 17:12:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602515542; 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: in-reply-to:in-reply-to:references:references; bh=i1r6jL7+NwkDU+onzqQzMpXZlSb2QYNXRbVicSyXm14=; b=feF67dqdNRlAEu7t0fKyQCPPsISSzER/oUZFg8adu4aRdsfPrBWzFOM58uzWrJDFtVzJk0 VwWNwUA3u4x1baeDY8sCfmRc6fg6MuBX2osQsBKwyY5qoJBJngz9EbCCapFNrWewowuPUv afGF+QGc+oJuShtTNsCZXnwMcq3tCM0= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-517-92MuJn_-NxSBpK339Z8bTg-1; Mon, 12 Oct 2020 11:12:18 -0400 X-MC-Unique: 92MuJn_-NxSBpK339Z8bTg-1 Received: by mail-vs1-f71.google.com with SMTP id u12so4190822vsh.18 for ; Mon, 12 Oct 2020 08:12:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i1r6jL7+NwkDU+onzqQzMpXZlSb2QYNXRbVicSyXm14=; b=pBSMMRLKcovPRLghaGvT8PGjqvbN/QhL0pufWLYcRMaw8k1Ly91IfgpcmBeGA52D+Z 5FdEnLY6DnI5vroW5yO4hjWhUpxlECttyI00pW1sIVjd4zjOwdAPsXYvlaGAb5DUGSYk C0zQR/mdW9BtgxrCVXQEAkLlI5wHYS0rwoSDGv9kWwCV7BJ6MhWoo6Nfh613y+0eBitP vzSq1/66xjhEtSEJhRDrJ0jTXNodZEH5s2b8B4hDqRDTlvYDGGKn7q3x719/cMnAK7HA dy+YDBBSl/NFLcGzJ7kUFlxEoKg5yMw4RHFYXs3C4yPIS2gJ9up+g47v1gep2vEz2alJ ASmA== X-Gm-Message-State: AOAM532T+P/h5KWHAlZjE35fRupYRKAYpcXNDJQeKQnVLPGSLNGOZN1X wXH2QCfks+Tv3z3fwZd68pQBtSD8clgRYeYIjKADoZoXcRHSMXErArEwPVo+LF8FfZ/4CVse4R/ mrBCQ95jvNhgEibhjp68= X-Received: by 2002:ab0:4287:: with SMTP id j7mr13179302uaj.53.1602515538167; Mon, 12 Oct 2020 08:12:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqQOMEH3VvA8OUieEbLBYOoVlSO7PmT+J2CuCoX3g3TPjLvxKFRJK/kY6is3w8bmBMLzTPlmwKY87/G3RvEWU= X-Received: by 2002:ab0:4287:: with SMTP id j7mr13179284uaj.53.1602515537950; Mon, 12 Oct 2020 08:12:17 -0700 (PDT) MIME-Version: 1.0 References: <20201008170536.124111-1-bruce.richardson@intel.com> <20201009141914.205284-1-bruce.richardson@intel.com> In-Reply-To: From: David Marchand Date: Mon, 12 Oct 2020 17:12:06 +0200 Message-ID: To: Bruce Richardson Cc: dev , Luca Boccassi , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] build: skip detecting libpcap via pcap-config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Fri, Oct 9, 2020 at 4:54 PM Luca Boccassi wrote: > > On Fri, 2020-10-09 at 15:19 +0100, Bruce Richardson wrote: > > When compiling for a slightly different architecture, e.g. 32-bit on 64-bit > > systems using CFLAGS rather than a cross-file, the pcap-config utility can > > often return parameters that are unusable for the build in question, i.e. > > providing the native 64-bit library paths rather than checking for 32-bit > > equivalent. > > > > Since many distros now include a version of libpcap with a > > pkg-config file, and for those that don't find-library should work ok as a > > fallback, we can explicitly just use pkg-config in the dependency search, > > causing meson to skip trying to use pcap-config. > > CC: stable@dpdk.org > > Signed-off-by: Bruce Richardson > Reviewed-by: Luca Boccassi Tested-by: David Marchand Applied, thanks. -- David Marchand