gnu: libelf: Use invoke.
* gnu/packages/elf.scm (libelf)[arguments]: Use invoke in the configure phase.
This commit is contained in:
		
							parent
							
								
									1a3aa5bab2
								
							
						
					
					
						commit
						257d8974e6
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -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.") | ||||
|  |  | |||
		Reference in a new issue