gnu: gdb: Do not install libopcodes and libbfd.
* gnu/packages/gdb.scm (gdb)[arguments]: Add 'post-install' phase.
This commit is contained in:
parent
b77b84717d
commit
d611d0833f
1 changed files with 11 additions and 1 deletions
|
@ -51,7 +51,17 @@ (define-public gdb
|
|||
(lambda _
|
||||
(for-each patch-makefile-SHELL
|
||||
(find-files "." "Makefile\\.in")))
|
||||
%standard-phases)))
|
||||
(alist-cons-after
|
||||
'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Like Binutils, GDB installs libbfd and libopcodes.
|
||||
;; However, this leads to collisions when both are
|
||||
;; installed, and really is none of its business,
|
||||
;; conceptually. So remove them.
|
||||
(for-each delete-file
|
||||
(find-files (assoc-ref outputs "out")
|
||||
"^lib(opcodes|bfd)\\.")))
|
||||
%standard-phases))))
|
||||
(inputs
|
||||
`(("expat" ,expat)
|
||||
("mpfr" ,mpfr)
|
||||
|
|
Loading…
Reference in a new issue