guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path.


From: Ben Woodcroft
Subject: Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path.
Date: Sat, 28 Jan 2017 09:26:44 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Hi Marius,


On 28/01/17 06:21, Marius Bakke wrote:
Hi Ben,

Ben Woodcroft <address@hidden> writes:

* gnu/packages/rust.scm (rustc)[native-search-pat hs]: 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?

Is the problem this addresses not already fixed by
5d18d776d269ab9a6c44e049936389df3454ba30?

I didn't have any problem compiling and linking pure rust programs - that commit fixed that issue, but when trying to link rust programs to non-rust libraries such as zlib the linker did not look in the lib of the profile (unless gcc was also in the profile, I guess). I was specifically looking to include rust-htslib in a crate I am building, to be concrete.

Thanks, ben.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]