guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

34/66: gnu: libelf: Use invoke.


From: Mark H. Weaver
Subject: 34/66: gnu: libelf: Use invoke.
Date: Fri, 23 Mar 2018 04:46:44 -0400 (EDT)

mhw pushed a commit to branch core-updates
in repository guix.

commit 257d8974e6593dc84fde42553934b1d9e40ec586
Author: Mark H Weaver <address@hidden>
Date:   Fri Mar 23 02:56:47 2018 -0400

    gnu: libelf: Use invoke.
    
    * gnu/packages/elf.scm (libelf)[arguments]: Use invoke in the configure 
phase.
---
 gnu/packages/elf.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index 08d9253..fa1fb46 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]