mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: elfutils: Add $libdir to the RUNPATH of binaries.
* gnu/packages/elf.scm (elfutils)[arguments]: New field.
This commit is contained in:
parent
cc1e1b38c9
commit
13cc689ae8
1 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,13 @@ (define-public elfutils
|
|||
(outputs '("out" ; libelf.so, elfutils/*.h, etc.
|
||||
"bin")) ; ld, nm, objdump, etc.
|
||||
|
||||
(arguments
|
||||
;; Programs don't have libelf.so in their RUNPATH and libraries don't
|
||||
;; know where to find each other.
|
||||
`(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib"))))
|
||||
|
||||
(native-inputs `(("m4" ,m4)))
|
||||
(inputs `(("zlib" ,zlib)))
|
||||
(home-page "https://fedorahosted.org/elfutils/")
|
||||
|
|
Loading…
Reference in a new issue