guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: fltk: Add $libdir to the RUNPATH of binaries.


From: ???
Subject: 02/02: gnu: fltk: Add $libdir to the RUNPATH of binaries.
Date: Wed, 15 Apr 2015 04:42:33 +0000

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

commit 691cb22b1b4be122fc67d51c890e9fbf1643a182
Author: 宋文武 <address@hidden>
Date:   Wed Apr 15 12:41:21 2015 +0800

    gnu: fltk: Add $libdir to the RUNPATH of binaries.
    
    * gnu/packages/fltk.scm (fltk)[arguments]: Add
      DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
---
 gnu/packages/fltk.scm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/fltk.scm b/gnu/packages/fltk.scm
index 5c872cb..1ac1f25 100644
--- a/gnu/packages/fltk.scm
+++ b/gnu/packages/fltk.scm
@@ -42,7 +42,9 @@
         ("mesa" ,mesa)))
     (arguments
      `(#:tests? #f                      ;TODO: compile programs in "test" dir
-       #:configure-flags '("--enable-shared")
+       #:configure-flags
+       (list "--enable-shared"
+             (string-append "DSOFLAGS=-Wl,-rpath=" %output "/lib"))
        #:phases
        (alist-cons-before
         'configure 'patch-makeinclude



reply via email to

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