libewf: fix cross compilation

This commit is contained in:
Nick Cao 2024-01-12 19:45:53 -05:00
parent 6023efb996
commit 3b85481052
No known key found for this signature in database

View File

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib openssl libuuid ]
++ lib.optionals stdenv.isDarwin [ bzip2 ];
# cannot run test program while cross compiling
configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"ac_cv_openssl_xts_duplicate_keys=yes"
];
meta = {
description = "Library for support of the Expert Witness Compression Format";
homepage = "https://sourceforge.net/projects/libewf/";