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

@ -42,7 +42,9 @@
("mesa" ,mesa))) ("mesa" ,mesa)))
(arguments (arguments
`(#:tests? #f ;TODO: compile programs in "test" dir `(#: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 #:phases
(alist-cons-before (alist-cons-before
'configure 'patch-makeinclude 'configure 'patch-makeinclude