summaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 270bb9b4fe..51ebc2a1b2 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