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
1 changed files with 7 additions and 7 deletions

View File

@ -756,13 +756,13 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
(("#! /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 _