From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path. Date: Sat, 28 Jan 2017 00:22:25 +0100 Message-ID: <87ziic2imm.fsf@gnu.org> References: <20170127120213.3746-1-donttrustben@gmail.com> <20170127120213.3746-2-donttrustben@gmail.com> <87inp01cfi.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXFqi-0005Qr-J0 for guix-devel@gnu.org; Fri, 27 Jan 2017 18:22:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXFqe-0007on-1H for guix-devel@gnu.org; Fri, 27 Jan 2017 18:22:32 -0500 In-Reply-To: <87inp01cfi.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Fri, 27 Jan 2017 21:21:37 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org Marius Bakke skribis: > Hi Ben, > > Ben Woodcroft writes: > >> * gnu/packages/rust.scm (rustc)[native-search-paths]: New field. > > [...] > >> + (native-search-paths >> + (list (search-path-specification >> + (variable "LIBRARY_PATH") >> + (files '("lib" "lib64"))))) > > This seems odd. This search path is for glibc, no? It=E2=80=99s honored by GCC (not to be confused with LD_LIBRARY_PATH.) Does rustc invoke gcc, or does it just happen to use a same-named variable? Ludo=E2=80=99.