gnu: editorconfig-core-c: Delete static library.

* gnu/packages/text-editors.scm (editorconfig-core-c)[arguments]: Add a
‘delete-static-library’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-09-01 04:43:34 +02:00
parent 7395ea0de4
commit 1c4b3512db
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -727,7 +727,14 @@ (define-public editorconfig-core-c
(lambda* (#:key inputs #:allow-other-keys)
(let ((tests (assoc-ref inputs "tests")))
(copy-recursively tests "tests"))
#t)))))
#t))
(add-after 'install 'delete-static-library
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib")))
(with-directory-excursion lib
(delete-file "libeditorconfig_static.a"))
#t))))))
(native-inputs
`(("tests"
,(origin