Merge pull request #113394 from SuperSandro2000/nmap-cross

liblinear: fix cross compile

authored by danieldk.tngl.sh and committed by

GitHub c9150d6e 8c505165

+6
+6
pkgs/development/libraries/liblinear/default.nix
··· 13 13 sha256 = "0p0hpjajfkskhd7jiv5zwhfa8hi49q3mgifjlkqvy99xspv98ijj"; 14 14 }; 15 15 16 + postPatch = '' 17 + substituteInPlace blas/Makefile \ 18 + --replace "ar rcv" "${stdenv.cc.targetPrefix}ar rcv" \ 19 + --replace "ranlib" "${stdenv.cc.targetPrefix}ranlib" 20 + ''; 21 + 16 22 outputs = [ "bin" "dev" "out" ]; 17 23 18 24 nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];