diff options
| author | 宋文武 <iyzsong@gmail.com> | 2015-01-16 22:10:26 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@gmail.com> | 2015-01-17 12:24:20 +0800 |
| commit | 622c8f0af2caaa1c6698219a89de4aa6eac11b4f (patch) | |
| tree | bdd2428f91c324c740926550fe0de3a16bb58919 /gnu | |
| parent | f1597358852d8e7144f1ec9f8e596833132bb688 (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/video.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 2febd12ff7f..110d0995bb1 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm | |||
| @@ -184,10 +184,11 @@ | |||
| 184 | (lambda* (#:key outputs #:allow-other-keys) | 184 | (lambda* (#:key outputs #:allow-other-keys) |
| 185 | (let* ((out (assoc-ref outputs "out")) | 185 | (let* ((out (assoc-ref outputs "out")) |
| 186 | (lib (string-append out "/lib"))) | 186 | (lib (string-append out "/lib"))) |
| 187 | ;; Add LIB to the RUNPATH of all the executables. | 187 | ;; Add LIB to the RUNPATH of all the executables and libraries. |
| 188 | (with-directory-excursion out | 188 | (with-directory-excursion out |
| 189 | (for-each (cut augment-rpath <> lib) | 189 | (for-each (cut augment-rpath <> lib) |
| 190 | (find-files "bin" ".*"))))) | 190 | (append (find-files "bin" ".*") |
| 191 | (find-files "lib" "\\.so\\..*\\.")))))) | ||
| 191 | %standard-phases)))) | 192 | %standard-phases)))) |
| 192 | (home-page "http://www.ffmpeg.org/") | 193 | (home-page "http://www.ffmpeg.org/") |
| 193 | (synopsis "Audio and video framework") | 194 | (synopsis "Audio and video framework") |
