gnu: mozjs@38: Use invoke.

* gnu/packages/gnuzilla.scm (mozjs-38)[arguments]: Use invoke in the custom
configure phase.
This commit is contained in:
Mark H Weaver 2018-03-23 03:16:58 -04:00
parent 6073ef7508
commit 5f70b6d4e8
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 16 additions and 16 deletions

View File

@ -225,23 +225,23 @@ in C/C++.")
(chdir "js/src")
(setenv "SHELL" (which "sh"))
(setenv "CONFIG_SHELL" (which "sh"))
(zero? (system* "./configure"
(string-append "--prefix=" out)
"--enable-ctypes"
"--enable-gcgenerational"
"--enable-optimize"
"--enable-pie"
"--enable-readline"
"--enable-shared-js"
"--enable-system-ffi"
"--enable-threadsafe"
"--enable-xterm-updates"
"--with-system-icu"
"--with-system-nspr"
"--with-system-zlib"
(invoke "./configure"
(string-append "--prefix=" out)
"--enable-ctypes"
"--enable-gcgenerational"
"--enable-optimize"
"--enable-pie"
"--enable-readline"
"--enable-shared-js"
"--enable-system-ffi"
"--enable-threadsafe"
"--enable-xterm-updates"
"--with-system-icu"
"--with-system-nspr"
"--with-system-zlib"
;; Intl API requires bundled ICU.
"--without-intl-api"))))))))
;; Intl API requires bundled ICU.
"--without-intl-api")))))))
(native-inputs
`(("perl" ,perl)
("pkg-config" ,pkg-config)