gnu: libelf: Use invoke.
* gnu/packages/elf.scm (libelf)[arguments]: Use invoke in the configure phase.master
parent
1a3aa5bab2
commit
257d8974e6
|
@ -90,13 +90,12 @@ Executable and Linkable Format (@dfn{ELF}). This includes @command{ld},
|
||||||
;; variables passed as arguments.
|
;; variables passed as arguments.
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(zero?
|
(invoke "./configure"
|
||||||
(system* "./configure"
|
(string-append "--prefix=" out)
|
||||||
(string-append "--prefix=" out)
|
|
||||||
,@(if (string=? "aarch64-linux"
|
,@(if (string=? "aarch64-linux"
|
||||||
(%current-system))
|
(%current-system))
|
||||||
'("--host=aarch64-unknown-linux-gnu")
|
'("--host=aarch64-unknown-linux-gnu")
|
||||||
'())))))))))
|
'()))))))))
|
||||||
(home-page "http://www.mr511.de/software/english.html")
|
(home-page "http://www.mr511.de/software/english.html")
|
||||||
(synopsis "ELF object file access library")
|
(synopsis "ELF object file access library")
|
||||||
(description "Libelf is a C library to access ELF object files.")
|
(description "Libelf is a C library to access ELF object files.")
|
||||||
|
|
Reference in New Issue