mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 9 additions and 9 deletions
|
@ -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)))))
|
||||||
|
|
Loading…
Reference in a new issue