[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: nspr: Add $libdir to the RUNPATH of binaries.
From: |
Ludovic Courtès |
Subject: |
02/04: gnu: nspr: Add $libdir to the RUNPATH of binaries. |
Date: |
Sat, 11 Apr 2015 11:06:30 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit 8550894bfe75369740bbd178481dc8b3c89bad8e
Author: Ludovic Courtès <address@hidden>
Date: Sat Apr 11 12:25:19 2015 +0200
gnu: nspr: Add $libdir to the RUNPATH of binaries.
* gnu/packages/gnuzilla.scm (nspr)[arguments]: Add
LDFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
---
gnu/packages/gnuzilla.scm | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 887bace..fbe63d9 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")