lol

cabextract: support cross-compilation

+6
+6
pkgs/tools/archivers/cabextract/default.nix
··· 9 9 sha256 = "19qwhl2r8ip95q4vxzxg2kp4p125hjmc9762sns1dwwf7ikm7hmg"; 10 10 }; 11 11 12 + # Let's assume that fnmatch works for cross-compilation, otherwise it gives an error: 13 + # undefined reference to `rpl_fnmatch'. 14 + configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 15 + "ac_cv_func_fnmatch_works=yes" 16 + ]; 17 + 12 18 meta = with lib; { 13 19 homepage = "https://www.cabextract.org.uk/"; 14 20 description = "Free Software for extracting Microsoft cabinet files";