3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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