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 @@
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'check 'set-ld-library-path
|
(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"
|
(setenv "LD_LIBRARY_PATH"
|
||||||
(string-append (assoc-ref native-inputs "zlib") "/lib"))))
|
(string-append (assoc-ref (or native-inputs inputs) "zlib")
|
||||||
|
"/lib"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Reference in a new issue