gnu: ffmpeg: Use invoke.

* gnu/packages/video.scm (ffmpeg)[arguments]: Use invoke in the custom
configure phase.
This commit is contained in:
Mark H Weaver 2018-03-23 02:04:03 -04:00
parent 114ef0a4c5
commit 3918ed732e
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -744,13 +744,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 _