cadical: fix static build

This commit is contained in:
Guillaume Girol 2024-04-03 12:00:00 +00:00
parent 457090959e
commit 67dc7cc993

View file

@ -38,6 +38,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# fix static build
postPatch = ''
substituteInPlace makefile.in --replace-fail "ar rc" '$(AR) rc'
'';
# the configure script is not generated by autotools and does not accept the
# arguments that the default configurePhase passes like --prefix and --libdir
configurePhase = ''