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"))))
(setenv "SHELL" (which "bash"))
(setenv "CONFIG_SHELL" (which "bash"))
(zero? (apply system*
"./configure"
(string-append "--prefix=" out)
;; Add $libdir to the RUNPATH of all the binaries.
(string-append "--extra-ldflags=-Wl,-rpath="
out "/lib")
configure-flags)))))
(apply invoke
"./configure"
(string-append "--prefix=" out)
;; Add $libdir to the RUNPATH of all the binaries.
(string-append "--extra-ldflags=-Wl,-rpath="
out "/lib")
configure-flags))))
(add-before
'check 'set-ld-library-path
(lambda _