summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-11-30 00:46:03 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-11-30 01:08:52 +0100
commit215524a1166206e56b30f54228c19d1dd9a3c0ff (patch)
tree31fc4e52c54bbb6a16e58be705c474e57fbbe8b4
parent3ec27a7436deaa19c501a11697ef93bb51c216d9 (diff)
downloadguix-215524a1166206e56b30f54228c19d1dd9a3c0ff.tar.gz
gnu: xfsprogs: Omit static library.
* gnu/packages/linux.scm (xfsprogs)[arguments]:
Add "--disable-static" to #:configure-flags.
(xfsprogs-static)[arguments]: Undo it.
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c3a6a43550..40cb49c5ce 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7693,6 +7693,8 @@ compatible with Python's ConfigParser style of .INI files, including RFC
     (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 @@ file systems.")
     (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 _ ''())