diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-04-15 12:41:21 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-15 12:41:21 +0800 |
commit | 691cb22b1b4be122fc67d51c890e9fbf1643a182 (patch) | |
tree | 4c388791b14ce61cea79f0fc888ee964a1094365 | |
parent | bda4ca76d4c6d7b34859176605cd81ccf946f2cc (diff) | |
download | guix-691cb22b1b4be122fc67d51c890e9fbf1643a182.tar.gz guix-691cb22b1b4be122fc67d51c890e9fbf1643a182.zip |
gnu: fltk: Add $libdir to the RUNPATH of binaries.
* gnu/packages/fltk.scm (fltk)[arguments]: Add
DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
-rw-r--r-- | 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 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 |