From b3455870e1225d14ebeae6738e10bd3e1bbcf626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 10 Apr 2015 22:10:13 +0800 Subject: [PATCH] gnu: libvpx: Augment rpath. Fixes . * gnu/packages/video.scm (libvpx)[arguments]: Set LDFLAGS to '-Wl,-rpath=$out/lib' in configure phase. --- gnu/packages/video.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 16c9770f45..5dd4531ec4 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -819,6 +819,8 @@ projects while introducing many more.") (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"