aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-11 12:05:14 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-11 12:14:52 +0800
commit6b206853a067aae83165ddece7c562aa476abc33 (patch)
treeff53648d31baf971f622d8303dbb0cde033ae38c /gnu
parent53a53be91b7daf4d6b23bd3b31ed0a83baf40c73 (diff)
downloadgnu-guix-6b206853a067aae83165ddece7c562aa476abc33.tar
gnu-guix-6b206853a067aae83165ddece7c562aa476abc33.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 48e16a14be..2094ec0554 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -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)