Merge pull request #280624 from NickCao/libewf

libewf: fix cross compilation
This commit is contained in:
7c6f434c 2024-01-14 12:52:00 +00:00 committed by GitHub
commit 28b6b5179c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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/";