distro: binutils: Add a "lib" output.

* distro/packages/base.scm (binutils): Add `outputs' field.
This commit is contained in:
Ludovic Courtès 2013-01-10 00:09:25 +01:00
parent a06a99ff77
commit 4873f8ed9f
1 changed files with 5 additions and 0 deletions

View File

@ -353,6 +353,11 @@ that it is possible to use Make to build and install the program.")
"1a9w66v5dwvbnawshjwqcgz7km6kw6ihkzp6sswv9ycc3knzhykc")))) "1a9w66v5dwvbnawshjwqcgz7km6kw6ihkzp6sswv9ycc3knzhykc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; Split Binutils in several outputs, mostly to avoid collisions in
;; user profiles with GCC---e.g., libiberty.a.
(outputs '("out" ; ar, ld, binutils.info, etc.
"lib")) ; libbfd.a, bfd.h, etc.
;; TODO: Add dependency on zlib + those for Gold. ;; TODO: Add dependency on zlib + those for Gold.
(native-inputs (native-inputs
`(("patch/new-dtags" ,(search-patch "binutils-ld-new-dtags.patch")))) `(("patch/new-dtags" ,(search-patch "binutils-ld-new-dtags.patch"))))