gnu: mozjs@24: Use invoke.
* gnu/packages/gnuzilla.scm (mozjs-24)[arguments]: Use invoke in the custom configure phase.
This commit is contained in:
parent
e15793c8d0
commit
6073ef7508
|
@ -153,15 +153,15 @@ in C/C++.")
|
||||||
;; 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)))))
|
||||||
|
|
Loading…
Reference in New Issue