From d60458d77c53f2894d7c1f0649bf24e3f048db8b Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 12 Feb 2020 16:44:04 +0100 Subject: gnu: libaio: Do not install the static library. * gnu/packages/linux.scm (libaio)[arguments]: Add phase 'delete-static-library'. --- gnu/packages/linux.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3