summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-15 12:41:21 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-15 12:41:21 +0800
commit691cb22b1b4be122fc67d51c890e9fbf1643a182 (patch)
tree4c388791b14ce61cea79f0fc888ee964a1094365 /gnu/packages
parentbda4ca76d4c6d7b34859176605cd81ccf946f2cc (diff)
downloadguix-691cb22b1b4be122fc67d51c890e9fbf1643a182.tar.gz
gnu: fltk: Add $libdir to the RUNPATH of binaries.
* gnu/packages/fltk.scm (fltk)[arguments]: Add
  DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/fltk.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/fltk.scm b/gnu/packages/fltk.scm
index 5c872cb233..1ac1f2507e 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