gnu: mozjs@24: Use invoke.

* gnu/packages/gnuzilla.scm (mozjs-24)[arguments]: Use invoke in the custom
configure phase.
This commit is contained in:
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

View file

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