From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Marc-Antoine@perennou.com Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 9152b0cb for ; Wed, 2 Nov 2016 10:45:02 +0000 (UTC) Received: from mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.135]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 17F2C41C0D7 for ; Wed, 2 Nov 2016 11:46:07 +0100 (CET) Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter6-d.gandi.net (mfilter6-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id RuaCk6lmKdoT for ; Wed, 2 Nov 2016 11:46:05 +0100 (CET) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (Authenticated sender: sendmail@perennou.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B894041C093 for ; Wed, 2 Nov 2016 11:46:05 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id n67so28259481wme.1 for ; Wed, 02 Nov 2016 03:46:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20161102103158.5305-1-Marc-Antoine@Perennou.com> From: Marc-Antoine Perennou Date: Wed, 2 Nov 2016 11:45:44 +0100 Message-ID: To: "Jason A. Donenfeld" Content-Type: text/plain; charset=UTF-8 Cc: WireGuard mailing list Subject: Re: [WireGuard] [PATCH] tools: allow better build system configuration List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2 November 2016 at 11:42, Jason A. Donenfeld wrote: > Okay, I thought that might be the case. That's the situation on Gentoo too. > > Secondly, why the pkg-config abstraction? When is it not called > pkg-config and when is it not in PATH? On exherbo, everything (including the main arch) is cross compiled, so unprefixed toolchain is blacklisted, we use e.g. x86_64-pc-linux-gnu-pkg-config Supporting PKG_CONFIG env var seems like something quite common, as that(s how the pkg-config autotools integration works, for example.