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
|
@ -51,7 +51,17 @@
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each patch-makefile-SHELL
|
(for-each patch-makefile-SHELL
|
||||||
(find-files "." "Makefile\\.in")))
|
(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
|
(inputs
|
||||||
`(("expat" ,expat)
|
`(("expat" ,expat)
|
||||||
("mpfr" ,mpfr)
|
("mpfr" ,mpfr)
|
||||||
|
|
Loading…
Reference in New Issue