guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: libvpx: Augment rpath.


From: ???
Subject: 01/01: gnu: libvpx: Augment rpath.
Date: Fri, 10 Apr 2015 14:27:41 +0000

iyzsong pushed a commit to branch core-updates
in repository guix.

commit b3455870e1225d14ebeae6738e10bd3e1bbcf626
Author: 宋文武 <address@hidden>
Date:   Fri Apr 10 22:10:13 2015 +0800

    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.
---
 gnu/packages/video.scm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 16c9770..5dd4531 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]