gnu: ffmpeg: Use invoke.
* gnu/packages/video.scm (ffmpeg)[arguments]: Use invoke in the custom configure phase.
This commit is contained in:
parent
114ef0a4c5
commit
3918ed732e
|
@ -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 _
|
||||||
|
|
Loading…
Reference in New Issue