Merge pull request #105923 from KAction/mmh-static

mmh: fix static build
This commit is contained in:
Guillaume Girol
2021-01-05 20:29:26 +00:00
committed by GitHub

View File

@@ -10,6 +10,11 @@ in stdenv.mkDerivation rec {
sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
};
postPatch = ''
substituteInPlace sbr/Makefile.in \
--replace "ar " "${stdenv.cc.targetPrefix}ar "
'';
buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook flex ];