gnu: ffmpeg: Augment rpath of libraries.
* gnu/packages/video.scm (ffmpeg)[arguments]<phases>[add-lib-to-run-path]: Add $out/lib to the RUNPATH of libraries.master
parent
f159735885
commit
622c8f0af2
|
@ -184,10 +184,11 @@
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(lib (string-append out "/lib")))
|
(lib (string-append out "/lib")))
|
||||||
;; Add LIB to the RUNPATH of all the executables.
|
;; Add LIB to the RUNPATH of all the executables and libraries.
|
||||||
(with-directory-excursion out
|
(with-directory-excursion out
|
||||||
(for-each (cut augment-rpath <> lib)
|
(for-each (cut augment-rpath <> lib)
|
||||||
(find-files "bin" ".*")))))
|
(append (find-files "bin" ".*")
|
||||||
|
(find-files "lib" "\\.so\\..*\\."))))))
|
||||||
%standard-phases))))
|
%standard-phases))))
|
||||||
(home-page "http://www.ffmpeg.org/")
|
(home-page "http://www.ffmpeg.org/")
|
||||||
(synopsis "Audio and video framework")
|
(synopsis "Audio and video framework")
|
||||||
|
|
Reference in New Issue