mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: libcap: Add $libdir to the RUNPATH of executables.
* gnu/packages/linux.scm (libcap)[arguments]: Set LDFLAGS to '-Wl,-rpath=...' in Make.Rules.
This commit is contained in:
parent
d1f9e45e5d
commit
6d889daf2a
1 changed files with 9 additions and 1 deletions
|
@ -982,7 +982,15 @@ (define-public libcap
|
|||
(base32
|
||||
"07vjhkznm82p8dm4w6j8mmg7h5c70lp5s9bwwfdmgwpbixfydjp1"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments '(#:phases (alist-delete 'configure %standard-phases)
|
||||
(arguments '(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
;; Add $libdir to the RUNPATH of executables.
|
||||
(lambda _
|
||||
(substitute* "Make.Rules"
|
||||
(("LDFLAGS := #-g")
|
||||
(string-append "LDFLAGS := -Wl,-rpath="
|
||||
%output "/lib"))))))
|
||||
#:tests? #f ; no 'check' target
|
||||
#:make-flags (list "lib=lib"
|
||||
(string-append "prefix="
|
||||
|
|
Loading…
Reference in a new issue