me
/
guix
Archived
1
0
Fork 0

gnu: libwhich: Compile natively, too.

This follows up on commit 12424b3ecf.

* gnu/packages/julia.scm (libwhich)[arguments]: Fix non-cross
compilation.
master
Tobias Geerinckx-Rice 2020-11-13 15:12:52 +01:00
parent 37ba374a53
commit db2f95f1c2
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 2 deletions

View File

@ -201,9 +201,10 @@
(modify-phases %standard-phases
(delete 'configure)
(add-before 'check 'set-ld-library-path
(lambda* (#:key native-inputs #:allow-other-keys)
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(setenv "LD_LIBRARY_PATH"
(string-append (assoc-ref native-inputs "zlib") "/lib"))))
(string-append (assoc-ref (or native-inputs inputs) "zlib")
"/lib"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))