[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path. |
Date: |
Sat, 28 Jan 2017 00:22:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Marius Bakke <address@hidden> skribis:
> Hi Ben,
>
> Ben Woodcroft <address@hidden> 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’s 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’.