mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: libwhich: Compile natively, too.
This follows up on commit 12424b3ecf
.
* gnu/packages/julia.scm (libwhich)[arguments]: Fix non-cross
compilation.
This commit is contained in:
parent
37ba374a53
commit
db2f95f1c2
1 changed files with 3 additions and 2 deletions
|
@ -201,9 +201,10 @@ (define-public libwhich
|
|||
(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")))
|
||||
|
|
Loading…
Reference in a new issue