gnu: exiv2: Adjust tests on riscv64-linux.

* gnu/packages/image.scm (exiv2)[arguments]: Also use the custom
'adjust-tests phase when building for riscv64-linux.
This commit is contained in:
Efraim Flashner 2023-05-04 16:02:55 +03:00
parent f56d37658e
commit f776eb3f87
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1423,7 +1423,9 @@ (define-public exiv2
(lib (string-append out "/lib")))
(for-each delete-file (find-files lib "\\.a$")))))
,@(if (or (target-ppc64le?) (target-aarch64?))
,@(if (or (target-ppc64le?)
(target-aarch64?)
(target-riscv64?))
'((add-after 'unpack 'adjust-tests
(lambda _
;; Adjust test on ppc64 and aarch64, where no exception