exiv2: fix build on 32-bit arm

This commit is contained in:
Andrew Childs 2020-05-02 13:33:29 +09:00 committed by Jon
parent 35639c65f9
commit d09c84aa00

View File

@ -79,8 +79,9 @@ stdenv.mkDerivation rec {
mkdir ../test/tmp
export LD_LIBRARY_PATH="$(realpath ../build/lib)"
# Fix tests on Aarch64
${stdenv.lib.optionalString stdenv.isAarch64 ''
${stdenv.lib.optionalString (stdenv.isAarch64 || stdenv.isAarch32) ''
# Fix tests on arm
# https://github.com/Exiv2/exiv2/issues/933
rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
''}