Skip to content

Commit f04cda1

Browse files
committed
libmpcdec: fix cross build
Error without this fix: ``` checking for working memcmp... no configure: error: working memcmp is not available. ```
1 parent f042242 commit f04cda1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/li/libmpcdec/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
1313
sha256 = "1a0jdyga1zfi4wgkg3905y6inghy3s4xfs5m4x7pal08m0llkmab";
1414
};
1515

16+
# needed for cross builds
17+
configureFlags = [ "ac_cv_func_memcmp_working=yes" ];
18+
1619
meta = {
1720
description = "Musepack SV7 decoder library";
1821
platforms = lib.platforms.unix;

0 commit comments

Comments
 (0)