Merge pull request #280624 from NickCao/libewf

libewf: fix cross compilation

authored by 7c6f434c and committed by GitHub 28b6b517 d26fb519

+5
+5
pkgs/development/libraries/libewf/default.nix
··· 13 13 buildInputs = [ zlib openssl libuuid ] 14 14 ++ lib.optionals stdenv.isDarwin [ bzip2 ]; 15 15 16 + # cannot run test program while cross compiling 17 + configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 18 + "ac_cv_openssl_xts_duplicate_keys=yes" 19 + ]; 20 + 16 21 meta = { 17 22 description = "Library for support of the Expert Witness Compression Format"; 18 23 homepage = "https://sourceforge.net/projects/libewf/";