mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
Revert "gnu: util-linux: Add "static" output."
This reverts commit df887432be
.
This commit is contained in:
parent
e6f0ca2f05
commit
85c7e8e611
1 changed files with 3 additions and 15 deletions
|
@ -463,11 +463,12 @@ (define-public util-linux
|
|||
(("build_kill=yes") "build_kill=no"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"static")) ; >2 MiB of static .a libraries
|
||||
(arguments
|
||||
`(#:configure-flags (list "--disable-use-tty-group"
|
||||
|
||||
;; Do not build .a files to save 2 MiB.
|
||||
"--disable-static"
|
||||
|
||||
;; Install completions where our
|
||||
;; bash-completion package expects them.
|
||||
(string-append "--with-bashcompletiondir="
|
||||
|
@ -492,19 +493,6 @@ (define-public util-linux
|
|||
(substitute* "tests/ts/misc/mcookie"
|
||||
(("/etc/services")
|
||||
(string-append net "/etc/services")))
|
||||
#t)))
|
||||
(add-after
|
||||
'install 'move-static-libraries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(static (assoc-ref outputs "static")))
|
||||
(mkdir-p (string-append static "/lib"))
|
||||
(with-directory-excursion out
|
||||
(for-each (lambda (file)
|
||||
(rename-file file
|
||||
(string-append static "/"
|
||||
file)))
|
||||
(find-files "lib" "\\.a$")))
|
||||
#t))))))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("ncurses" ,ncurses)))
|
||||
|
|
Loading…
Reference in a new issue