aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-02-12 16:44:04 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-02-14 18:33:55 +0100
commitd60458d77c53f2894d7c1f0649bf24e3f048db8b (patch)
tree00371c7a27b61fa6d9c6ea673f0f3cf3f15d7932
parent2fabf398c1ff52ec98676d1434267c5e3727cac5 (diff)
downloadpatches-d60458d77c53f2894d7c1f0649bf24e3f048db8b.tar
patches-d60458d77c53f2894d7c1f0649bf24e3f048db8b.tar.gz
gnu: libaio: Do not install the static library.
* gnu/packages/linux.scm (libaio)[arguments]: Add phase 'delete-static-library'.
-rw-r--r--gnu/packages/linux.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0dba6a3aa1..ef04a428d0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3826,7 +3826,13 @@ Linux Device Mapper multipathing driver:
(list "CC=gcc" (string-append "prefix=" %output))
#:test-target "partcheck" ; need root for a full 'check'
#:phases
- (modify-phases %standard-phases (delete 'configure)))) ; no configure script
+ (modify-phases %standard-phases
+ (delete 'configure) ;no configure script
+ (add-after 'install 'delete-static-library
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (delete-file (string-append out "/lib/libaio.a"))
+ #t))))))
(home-page "https://pagure.io/libaio")
(synopsis "Linux-native asynchronous I/O access library")
(description