Hi Marius,

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

Ben Woodcroft <donttrust...@gmail.com> 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