gnu: xfsprogs: Omit static library.

* gnu/packages/linux.scm (xfsprogs)[arguments]:
Add "--disable-static" to #:configure-flags.
(xfsprogs-static)[arguments]: Undo it.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-30 00:46:03 +01:00
parent 3ec27a7436
commit 215524a116
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -7693,6 +7693,8 @@ (define-public xfsprogs
(outputs (list "out" "python"))
(arguments
`(#:tests? #f ; kernel/user integration tests are in package "xfstests"
#:configure-flags
(list "--disable-static")
#:make-flags
(list "V=1")
#:phases
@ -7732,6 +7734,9 @@ (define-public xfsprogs/static
(outputs (list "out"))
(arguments
(substitute-keyword-arguments (package-arguments xfsprogs)
((#:configure-flags configure-flags '())
`(append ,configure-flags
(list "--enable-static")))
((#:make-flags make-flags ''())
`(cons* "LLDFLAGS=-all-static" ,make-flags))
((#:phases _ ''())