From 0d84d3ff9f1a1b7d2ed5c200ba8b98e675378c41 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Nov 2023 10:54:36 +0200 Subject: gnu: rav1e: Don't build the static library. * gnu/packages/video.scm (rav1e)[arguments]: Adjust the custom 'build phase to not build the static library. Remove phase deleting static library. Change-Id: I624e5e076eac867b12cfc5fbf3d33c2832d23646 --- gnu/packages/video.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 2822cdf4bf..9537860c3f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5588,12 +5588,9 @@ result in several formats: (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (invoke "cargo" "cinstall" "--release" - (string-append "--prefix=" out))))) - (add-after 'install 'delete-static-library - (lambda* (#:key outputs #:allow-other-keys) - ;; Delete 93 MiB (!) static library. - (delete-file (string-append (assoc-ref outputs "out") - "/lib/librav1e.a"))))))) + ;; Only build the dynamic library. + "--library-type" "cdylib" + (string-append "--prefix=" out)))))))) (native-inputs (list nasm pkg-config rust-cargo-c)) (inputs -- cgit 1.4.1