gnu: subversion: Add $libdir to the RUNPATH of Perl bindings.

Fixes <http://bugs.gnu.org/20052>.

* gnu/packages/version-control.scm (subversion)[arguments]:
  Pass '-Wl,-rpath=...' as OTHERLDFLAGS in install-perl-bindings phase.
This commit is contained in:
宋文武 2015-04-11 12:05:14 +08:00
parent 53a53be91b
commit 6b206853a0
1 changed files with 4 additions and 1 deletions

View File

@ -531,7 +531,10 @@ property manipulation.")
(system* "perl" "Makefile.PL"
(string-append "PREFIX=" out)))
(zero?
(system* "make" "install")))))))
(system* "make" "install"
(string-append "OTHERLDFLAGS="
"-Wl,-rpath="
out "/lib"))))))))
%standard-phases))))
(native-inputs
`(("pkg-config" ,pkg-config)