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

View File

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