3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 7abb5bd5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];