gnu: libvpx: Augment rpath.

Fixes <http://bugs.gnu.org/20055>.

* gnu/packages/video.scm (libvpx)[arguments]: Set LDFLAGS to
  '-Wl,-rpath=$out/lib' in configure phase.
This commit is contained in:
宋文武 2015-04-10 22:10:13 +08:00
parent 3a4de6b2d2
commit b3455870e1
1 changed files with 2 additions and 0 deletions

View File

@ -819,6 +819,8 @@ projects while introducing many more.")
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(setenv "CONFIG_SHELL" (which "bash")) (setenv "CONFIG_SHELL" (which "bash"))
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(setenv "LDFLAGS"
(string-append "-Wl,-rpath=" out "/lib"))
(zero? (system* "./configure" (zero? (system* "./configure"
"--enable-shared" "--enable-shared"
"--as=yasm" "--as=yasm"