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
|
@ -103,15 +103,16 @@ in C/C++.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl", perl)))
|
`(("perl", perl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
#:configure-flags
|
#:configure-flags (list "--enable-64bit"
|
||||||
`("--enable-64bit")
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
#:phases
|
(assoc-ref %outputs "out")
|
||||||
(alist-cons-before
|
"/lib"))
|
||||||
'configure 'chdir
|
#:phases (alist-cons-before
|
||||||
(lambda _
|
'configure 'chdir
|
||||||
(chdir "nspr"))
|
(lambda _
|
||||||
%standard-phases)))
|
(chdir "nspr"))
|
||||||
|
%standard-phases)))
|
||||||
(home-page
|
(home-page
|
||||||
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR")
|
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR")
|
||||||
(synopsis "Netscape API for system level and libc-like functions")
|
(synopsis "Netscape API for system level and libc-like functions")
|
||||||
|
|
Loading…
Reference in New Issue