gnu: mozjs@24: Use invoke.

* gnu/packages/gnuzilla.scm (mozjs-24)[arguments]: Use invoke in the custom
configure phase.
master
Mark H Weaver 2018-03-23 03:15:49 -04:00
parent e15793c8d0
commit 6073ef7508
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 9 additions and 9 deletions

View File

@ -153,15 +153,15 @@ in C/C++.")
;; configure fails if it is followed by SHELL and CONFIG_SHELL
(setenv "SHELL" (which "sh"))
(setenv "CONFIG_SHELL" (which "sh"))
(zero? (system* "./configure"
(string-append "--prefix=" out)
"--with-system-nspr"
"--enable-system-ffi"
"--enable-threadsafe"
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
'()))))))))))
(invoke "./configure"
(string-append "--prefix=" out)
"--with-system-nspr"
"--enable-system-ffi"
"--enable-threadsafe"
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
'())))))))))
(inputs
`(("libffi" ,libffi)
("zlib" ,zlib)))))