gnu: ganv: Set the RUNPATH of binaries to $libdir.
* gnu/packages/gtk.scm (ganv)[arguments]: Add 'set-ldflags' phase.
This commit is contained in:
parent
bf4af30bb2
commit
ea7f3349ba
|
@ -230,13 +230,21 @@ functions which were removed.")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://download.drobilla.net/ganv-"
|
(uri (string-append "http://download.drobilla.net/ganv-"
|
||||||
version
|
version ".tar.bz2"))
|
||||||
".tar.bz2"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0g7s5mp14qgbfjdql0k1s8464r21g47ssn5dws6jazsnw6njhl0l"))))
|
"0g7s5mp14qgbfjdql0k1s8464r21g47ssn5dws6jazsnw6njhl0l"))))
|
||||||
(build-system waf-build-system)
|
(build-system waf-build-system)
|
||||||
(arguments `(#:tests? #f)) ; no check target
|
(arguments
|
||||||
|
`(#:phases (alist-cons-before
|
||||||
|
'configure 'set-ldflags
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
;; Allow 'bin/ganv_bench' to find libganv-1.so.
|
||||||
|
(setenv "LDFLAGS"
|
||||||
|
(string-append "-Wl,-rpath="
|
||||||
|
(assoc-ref outputs "out") "/lib")))
|
||||||
|
%standard-phases)
|
||||||
|
#:tests? #f)) ; no check target
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk" ,gtk+-2)
|
`(("gtk" ,gtk+-2)
|
||||||
("gtkmm" ,gtkmm-2)))
|
("gtkmm" ,gtkmm-2)))
|
||||||
|
|
Loading…
Reference in New Issue