gnu: ffmpeg: Use INVOKE.

* gnu/packages/video.scm (ffmpeg)[arguments]: Substitute INVOKE for
SYSTEM*.
This commit is contained in:
Tobias Geerinckx-Rice 2018-04-01 07:35:12 +02:00
parent 512f22f9e8
commit e80c05ac3e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -756,13 +756,13 @@ (define-public ffmpeg
(("#! /bin/sh") (string-append "#!" (which "sh")))) (("#! /bin/sh") (string-append "#!" (which "sh"))))
(setenv "SHELL" (which "bash")) (setenv "SHELL" (which "bash"))
(setenv "CONFIG_SHELL" (which "bash")) (setenv "CONFIG_SHELL" (which "bash"))
(zero? (apply system* (apply invoke
"./configure" "./configure"
(string-append "--prefix=" out) (string-append "--prefix=" out)
;; Add $libdir to the RUNPATH of all the binaries. ;; Add $libdir to the RUNPATH of all the binaries.
(string-append "--extra-ldflags=-Wl,-rpath=" (string-append "--extra-ldflags=-Wl,-rpath="
out "/lib") out "/lib")
configure-flags))))) configure-flags))))
(add-before (add-before
'check 'set-ld-library-path 'check 'set-ld-library-path
(lambda _ (lambda _