mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: nspr: Add $libdir to the RUNPATH of binaries.
* gnu/packages/gnuzilla.scm (nspr)[arguments]: Add LDFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
This commit is contained in:
parent
713e0aa4b3
commit
8550894bfe
1 changed files with 10 additions and 9 deletions
|
@ -103,15 +103,16 @@ (define-public nspr
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue