summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-19 10:54:36 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:41 +0200
commit0d84d3ff9f1a1b7d2ed5c200ba8b98e675378c41 (patch)
tree345dfe58b65f3a33ae1419cf5997213212f5ba8f
parent448e90db804f9b3aaa9339f93bbda508bc8e6008 (diff)
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
-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 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