aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gnuzilla.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-11 12:25:19 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-11 13:06:23 +0200
commit8550894bfe75369740bbd178481dc8b3c89bad8e (patch)
tree58608b104edfeac830c91513b0d96271eac1d5c2 /gnu/packages/gnuzilla.scm
parent713e0aa4b394adcefbe963e205aeec4ddd04338a (diff)
downloadpatches-8550894bfe75369740bbd178481dc8b3c89bad8e.tar
patches-8550894bfe75369740bbd178481dc8b3c89bad8e.tar.gz
gnu: nspr: Add $libdir to the RUNPATH of binaries.
* gnu/packages/gnuzilla.scm (nspr)[arguments]: Add LDFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
Diffstat (limited to 'gnu/packages/gnuzilla.scm')
-rw-r--r--gnu/packages/gnuzilla.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 887bace423..fbe63d99ea 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -103,15 +103,16 @@ in C/C++.")
(native-inputs
`(("perl", perl)))
(arguments
- `(#:tests? #f ; no check target
- #:configure-flags
- `("--enable-64bit")
- #:phases
- (alist-cons-before
- 'configure 'chdir
- (lambda _
- (chdir "nspr"))
- %standard-phases)))
+ `(#:tests? #f ; no check target
+ #:configure-flags (list "--enable-64bit"
+ (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib"))
+ #:phases (alist-cons-before
+ 'configure 'chdir
+ (lambda _
+ (chdir "nspr"))
+ %standard-phases)))
(home-page
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR")
(synopsis "Netscape API for system level and libc-like functions")