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

View file

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