From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAB8EC83004 for ; Wed, 29 Apr 2020 10:37:05 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 8AEDB206F0 for ; Wed, 29 Apr 2020 10:37:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8AEDB206F0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 04D2C1D9E5; Wed, 29 Apr 2020 12:37:05 +0200 (CEST) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id B29F01D9D7 for ; Wed, 29 Apr 2020 12:37:03 +0200 (CEST) Received: by mail-wm1-f68.google.com with SMTP id k12so1456374wmj.3 for ; Wed, 29 Apr 2020 03:37:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=YQ3eTQ+1nUsxfZXPXGMFrsKyQg7hVy59igK6+NF2eGs=; b=ntYbQos7YRiwBet4d7AGbfJZvVEXHBNrZMtlAIlF3V0cnfo03/O0NCzwB8Q0j/GrxV rUS3hBlEHumrzIv/ypq0a+imVMr/i5zRaCv8mnJfLGHWlzXylb5bzDOMBBLUc/HkZRrZ UucUY5v/fXwcZcmJZTH8fBM05uzNHYQ7e+KIT8iUK1uFCQw6QWvCfxSQsoBY+VQXtLBv 7K40Cq8ow8HNMTbS0xCB6l3/+kk52Dq1sbuq+0HVOsNfQKaEi4WreaFc9CLbmF+jxeKa lnCntWHzJw8a3djLaTwgUShcT4trlj/c0l80lgSOQLme5wk+qKrG9NnBtW2cGZ7WZtyy zraw== X-Gm-Message-State: AGi0PuaIqhLwOXPEZtIKQk18tBtPJhmDM0JzIB9FHMeyS9yrgiYp01Vj eVfSyrY8zgLlg0QSNuku9YM= X-Google-Smtp-Source: APiQypK5PcegkaV7DyQRZmyVou0BNRAIpk0eXHJDqlR/hRevEWeiH62U47tfsvxl5FLJ8xdwppll6Q== X-Received: by 2002:a1c:ba56:: with SMTP id k83mr2462242wmf.1.1588156623456; Wed, 29 Apr 2020 03:37:03 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id u127sm7285444wme.8.2020.04.29.03.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 03:37:02 -0700 (PDT) Message-ID: From: Luca Boccassi To: Bruce Richardson , dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, ktraynor@redhat.com Date: Wed, 29 Apr 2020 11:37:02 +0100 In-Reply-To: <20200429100831.398-7-bruce.richardson@intel.com> References: <20200429100831.398-1-bruce.richardson@intel.com> <20200429100831.398-7-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags 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 Wed, 2020-04-29 at 11:08 +0100, Bruce Richardson wrote: > Rather than setting -Bstatic in the linker flags when doing a static link= , > and then having to explicitly set -Bdynamic again afterwards, we can upda= te > the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the > static library in question. Since this syntax is not supported by meson's > pkg-config module directly, we can post-process the .pc files instead to > adjust them. >=20 > Once done, we can simplify the examples' makefiles and the docs by removi= ng > the explicit static flag This sounds like a worthwhile feature request for Meson to me. Would you be up for opening an RFE on their issue tracker explaining the use case, please? --=20 Kind regards, Luca Boccassi