gnu: libelf: Use invoke.

* gnu/packages/elf.scm (libelf)[arguments]: Use invoke in the configure phase.
master
Mark H Weaver 2018-03-23 02:56:47 -04:00
parent 1a3aa5bab2
commit 257d8974e6
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 3 additions and 4 deletions

View File

@ -90,13 +90,12 @@ Executable and Linkable Format (@dfn{ELF}). This includes @command{ld},
;; variables passed as arguments.
(let ((out (assoc-ref outputs "out")))
(setenv "CONFIG_SHELL" (which "bash"))
(zero?
(system* "./configure"
(string-append "--prefix=" out)
(invoke "./configure"
(string-append "--prefix=" out)
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
'())))))))))
'()))))))))
(home-page "http://www.mr511.de/software/english.html")
(synopsis "ELF object file access library")
(description "Libelf is a C library to access ELF object files.")