x265: fix aarch64 build

This commit is contained in:
Jörg Thalheim 2020-10-24 22:08:36 +02:00
parent 88ebc5e7ad
commit 7c6f4a8169
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
"-DENABLE_SHARED=ON"
"-DHIGH_BIT_DEPTH=OFF"
"-DENABLE_HDR10_PLUS=OFF"
] ++ stdenv.lib.optionals is64bit [
] ++ stdenv.lib.optionals (is64bit && !(stdenv.isAarch64 && stdenv.isLinux)) [
"-DEXTRA_LIB=${libx265-10}/lib/libx265.a;${libx265-12}/lib/libx265.a"
"-DLINKED_10BIT=ON"
"-DLINKED_12BIT=ON"