guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/46: gnu: libaio: Do not install the static library.


From: guix-commits
Subject: 06/46: gnu: libaio: Do not install the static library.
Date: Fri, 14 Feb 2020 12:40:56 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit d60458d77c53f2894d7c1f0649bf24e3f048db8b
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Feb 12 16:44:04 2020 +0100

    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 0dba6a3..ef04a42 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]