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

* gnu/packages/fltk.scm (fltk)[arguments]: Add
  DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
This commit is contained in:
宋文武 2015-04-15 12:41:21 +08:00
parent bda4ca76d4
commit 691cb22b1b
1 changed files with 3 additions and 1 deletions

View File

@ -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